diff options
Diffstat (limited to 'src/vm/assembly.cpp')
-rw-r--r-- | src/vm/assembly.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/vm/assembly.cpp b/src/vm/assembly.cpp index 6b2c3b8a15..e5e70ad91c 100644 --- a/src/vm/assembly.cpp +++ b/src/vm/assembly.cpp @@ -651,7 +651,7 @@ Assembly *Assembly::CreateDynamic(AppDomain *pDomain, CreateDynamicAssemblyArgs IfFailThrow(pAssemblyEmit->DefineAssembly(publicKey, publicKey.GetSize(), ulHashAlgId, name, &assemData, dwFlags, &ma)); - pFile = PEAssembly::Create(pCallerAssembly->GetManifestFile(), pAssemblyEmit, args->access & ASSEMBLY_ACCESS_REFLECTION_ONLY); + pFile = PEAssembly::Create(pCallerAssembly->GetManifestFile(), pAssemblyEmit); // 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 @@ -878,12 +878,6 @@ DomainAssembly *Assembly::FindDomainAssembly(AppDomain *pDomain) RETURN GetManifestModule()->FindDomainAssembly(pDomain); } -BOOL Assembly::IsIntrospectionOnly() -{ - WRAPPER_NO_CONTRACT; - return m_pManifestFile->IsIntrospectionOnly(); -} - PTR_LoaderHeap Assembly::GetLowFrequencyHeap() { WRAPPER_NO_CONTRACT; |