From 11832401739148f1f1e9419cb51180ba5263a41b Mon Sep 17 00:00:00 2001 From: Jan Vorlicek Date: Thu, 4 Oct 2018 10:18:23 +0200 Subject: Remove AppDomain unload (#20250) * Remove AppDomain unload This change removes all code in AppDomain that's related to AppDomain unloading which is obsolete in CoreCLR. It also removes all calls to the removed methods. In few places, I have made the change simpler by taking into account the fact that there is always just one AppDomain. --- src/vm/methodtable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vm/methodtable.cpp') diff --git a/src/vm/methodtable.cpp b/src/vm/methodtable.cpp index a768ded29b..53a0be79a5 100644 --- a/src/vm/methodtable.cpp +++ b/src/vm/methodtable.cpp @@ -10075,7 +10075,7 @@ BOOL MethodTable::Validate() NOINLINE BYTE *MethodTable::GetLoaderAllocatorObjectForGC() { WRAPPER_NO_CONTRACT; - if (!Collectible() || ((PTR_AppDomain)GetLoaderModule()->GetDomain())->NoAccessToHandleTable()) + if (!Collectible()) { return NULL; } -- cgit v1.2.3