From a2dac464aa7d6c0c9d88b935e360fad7ab08f078 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Sun, 5 Mar 2017 21:58:13 -0800 Subject: [PATCH] Delete a few more unused hosting methods (dotnet/coreclr#9973) Commit migrated from https://github.com/dotnet/coreclr/commit/93d8ee3cb97f4071503f4e9e59d26f110c62200b --- src/coreclr/src/inc/corhost.h | 20 -------------------- src/coreclr/src/vm/methodtable.cpp | 5 ----- 2 files changed, 25 deletions(-) diff --git a/src/coreclr/src/inc/corhost.h b/src/coreclr/src/inc/corhost.h index 6383c0b..3aabe9e 100644 --- a/src/coreclr/src/inc/corhost.h +++ b/src/coreclr/src/inc/corhost.h @@ -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(); diff --git a/src/coreclr/src/vm/methodtable.cpp b/src/coreclr/src/vm/methodtable.cpp index 7a74642..2cc2ffe 100644 --- a/src/coreclr/src/vm/methodtable.cpp +++ b/src/coreclr/src/vm/methodtable.cpp @@ -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) -- 2.7.4