15 references to GetRuntimeModule
mscorlib (15)
system\reflection\customattribute.cs (4)
2214
GetSecurityAttributes(type.Module.ModuleHandle.
GetRuntimeModule
(), type.MetadataToken, false, out securityAttributes);
2281
GetSecurityAttributes(method.Module.ModuleHandle.
GetRuntimeModule
(), method.MetadataToken, false, out securityAttributes);
2397
GetSecurityAttributes(assembly.ManifestModule.ModuleHandle.
GetRuntimeModule
(), RuntimeAssembly.GetToken(assembly.GetNativeHandle()), true, out securityAttributes);
2509
GetSecurityAttributes(ctor.Module.ModuleHandle.
GetRuntimeModule
(), ctor.MetadataToken, false, out securityAttributes);
system\reflection\emit\assemblybuilder.cs (1)
1870
RuntimeModule runtimeAssemblyModule = (assemblyModule != null) ? assemblyModule.ModuleHandle.
GetRuntimeModule
() : null;
system\reflection\emit\dynamicmethod.cs (1)
397
m_module = m.ModuleHandle.
GetRuntimeModule
(); // this returns the underlying module for all RuntimeModule and ModuleBuilder objects.
system\runtime\compilerservices\runtimehelpers.cs (1)
85
_RunModuleConstructor(module.
GetRuntimeModule
());
system\runtime\interopservices\attributes.cs (1)
782
MetadataImport scope = ModuleHandle.GetMetadataImport(method.Module.ModuleHandle.
GetRuntimeModule
());
system\runtimehandles.cs (7)
1321
return _IsTokenSecurityTransparent(module.ModuleHandle.
GetRuntimeModule
(), metaDataToken);
1915
return new RuntimeTypeHandle(ResolveTypeHandleInternal(
GetRuntimeModule
(), typeToken, null, null));
1919
return new RuntimeTypeHandle(ModuleHandle.ResolveTypeHandleInternal(
GetRuntimeModule
(), typeToken, typeInstantiationContext, methodInstantiationContext));
1962
return new RuntimeMethodHandle(ResolveMethodHandleInternal(
GetRuntimeModule
(), methodToken, typeInstantiationContext, methodInstantiationContext));
2007
public RuntimeFieldHandle ResolveFieldHandle(int fieldToken) { return new RuntimeFieldHandle(ResolveFieldHandleInternal(
GetRuntimeModule
(), fieldToken, null, null)); }
2009
{ return new RuntimeFieldHandle(ResolveFieldHandleInternal(
GetRuntimeModule
(), fieldToken, typeInstantiationContext, methodInstantiationContext)); }
2110
get { return GetMDStreamVersion(
GetRuntimeModule
().GetNativeHandle()); }