From: Jan Kotas Date: Mon, 6 Mar 2017 05:58:13 +0000 (-0800) Subject: Delete a few more unused hosting methods (dotnet/coreclr#9973) X-Git-Tag: submit/tizen/20210909.063632~11030^2~7835 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2dac464aa7d6c0c9d88b935e360fad7ab08f078;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Delete a few more unused hosting methods (dotnet/coreclr#9973) Commit migrated from https://github.com/dotnet/coreclr/commit/93d8ee3cb97f4071503f4e9e59d26f110c62200b --- 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)