summaryrefslogtreecommitdiff
path: root/src/vm/assembly.cpp
diff options
context:
space:
mode:
authordanmosemsft <danmose@microsoft.com>2017-02-12 10:54:14 -0800
committerdanmosemsft <danmose@microsoft.com>2017-02-12 16:55:37 -0800
commitc9850c6172e09fe824e02a6f2e7eb6c4863952d5 (patch)
treee6feb8c6af216cbfebf3fb64eca1d482ab51977c /src/vm/assembly.cpp
parent9c93286cb13d9f50f1f25cdcbcbc3719a178b374 (diff)
downloadcoreclr-c9850c6172e09fe824e02a6f2e7eb6c4863952d5.tar.gz
coreclr-c9850c6172e09fe824e02a6f2e7eb6c4863952d5.tar.bz2
coreclr-c9850c6172e09fe824e02a6f2e7eb6c4863952d5.zip
Remove always defined FEATURE_HOST_ASSEMBLY_RESOLVER
Diffstat (limited to 'src/vm/assembly.cpp')
-rw-r--r--src/vm/assembly.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vm/assembly.cpp b/src/vm/assembly.cpp
index cc24ec7038..9ab8fbd576 100644
--- a/src/vm/assembly.cpp
+++ b/src/vm/assembly.cpp
@@ -739,7 +739,6 @@ Assembly *Assembly::CreateDynamic(AppDomain *pDomain, CreateDynamicAssemblyArgs
&ma));
pFile = PEAssembly::Create(pCallerAssembly->GetManifestFile(), pAssemblyEmit, args->access & ASSEMBLY_ACCESS_REFLECTION_ONLY);
-#if defined(FEATURE_HOST_ASSEMBLY_RESOLVER)
// Dynamically created modules (aka RefEmit assemblies) do not have a LoadContext associated with them since they are not bound
// using an actual binder. As a result, we will assume the same binding/loadcontext information for the dynamic assembly as its
// caller/creator to ensure that any assembly loads triggered by the dynamic assembly are resolved using the intended load context.
@@ -785,7 +784,6 @@ Assembly *Assembly::CreateDynamic(AppDomain *pDomain, CreateDynamicAssemblyArgs
// Set it as the fallback load context binder for the dynamic assembly being created
pFile->SetFallbackLoadContextBinder(pFallbackLoadContextBinder);
-#endif // defined(FEATURE_HOST_ASSEMBLY_RESOLVER)
}