diff options
Diffstat (limited to 'src/vm/class.cpp')
-rw-r--r-- | src/vm/class.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vm/class.cpp b/src/vm/class.cpp index 785536a7a4..21720909cb 100644 --- a/src/vm/class.cpp +++ b/src/vm/class.cpp @@ -184,15 +184,6 @@ void EEClass::Destruct(MethodTable * pOwningMT) // default appdomain and mscorlib.dll module during shutdown _ASSERTE(!pOwningMT->IsTransparentProxy()); -#if defined(FEATURE_REMOTING) && !defined(HAS_REMOTING_PRECODE) - // Destruct the method descs by walking the chunks. - MethodTable::IntroducedMethodIterator it(pOwningMT); - for (; it.IsValid(); it.Next()) - { - MethodDesc * pMD = it.GetMethodDesc(); - pMD->Destruct(); - } -#endif #ifdef FEATURE_COMINTEROP if (GetSparseCOMInteropVTableMap() != NULL && !pOwningMT->IsZapped()) |