Delete a few more unused hosting methods (dotnet/coreclr#9973)
authorJan Kotas <jkotas@microsoft.com>
Mon, 6 Mar 2017 05:58:13 +0000 (21:58 -0800)
committerGitHub <noreply@github.com>
Mon, 6 Mar 2017 05:58:13 +0000 (21:58 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/93d8ee3cb97f4071503f4e9e59d26f110c62200b

src/coreclr/src/inc/corhost.h
src/coreclr/src/vm/methodtable.cpp

index 6383c0b..3aabe9e 100644 (file)
@@ -386,28 +386,8 @@ public:
         LPCWSTR* argv,
         DWORD* pReturnValue);
 
-
-
-    static IHostControl *GetHostControl ()
-    {
-        LIMITED_METHOD_CONTRACT;
-
-        return NULL;
-    }
-
-
-    static int GetHostOverlappedExtensionSize()
-    {
-        LIMITED_METHOD_CONTRACT;
-
-        return 0;
-    }
-
-
-
     static STARTUP_FLAGS GetStartupFlags();
 
-
     static LPCWSTR GetAppDomainManagerAsm();
 
     static LPCWSTR GetAppDomainManagerType();
index 7a74642..2cc2ffe 100644 (file)
@@ -4615,11 +4615,6 @@ BOOL MethodTable::IsWriteable()
 {
     STANDARD_VM_CONTRACT;
 
-    // Overlapped method table is written into in hosted scenarios
-    // (see code:CorHost2::GetHostOverlappedExtensionSize)
-    if (MscorlibBinder::IsClass(this, CLASS__OVERLAPPEDDATA))
-        return TRUE;
-
 #ifdef FEATURE_COMINTEROP
     // Dynamic expansion of interface map writes into method table
     // (see code:MethodTable::AddDynamicInterface)