15 references to Instance
System.Private.StackTraceMetadata (1)
Internal\StackTraceMetadata\StackTraceMetadata.cs (1)
386
if (!ModuleList.
Instance
.TryGetModuleInfoByHandle(handle, out moduleInfo))
System.Private.TypeLoader (14)
Internal\Runtime\TypeLoader\ModuleList.cs (2)
384
return new NativeFormatModuleInfoEnumerable(
Instance
._loadedModuleMap, default(TypeManagerHandle));
395
return new NativeFormatModuleInfoEnumerable(
Instance
._loadedModuleMap, preferredModule);
Internal\Runtime\TypeLoader\TypeBuilder.cs (1)
1032
NativeFormatModuleInfo moduleInfo = ModuleList.
Instance
.GetModuleInfoByHandle(typeManager);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.cs (1)
32
return ModuleList.
Instance
.GetModuleForMetadataReader(reader);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.GVMResolution.cs (2)
152
return new MethodNameAndSignature(ModuleList.
Instance
.GetMetadataReaderForModule(moduleHandle), token.AsHandle().ToMethodHandle(null));
224
nativeLayoutContext._module = ModuleList.
Instance
.GetModuleInfoByHandle(module.Handle);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.LdTokenResultLookup.cs (2)
198
MetadataReader reader = ModuleList.
Instance
.GetMetadataReaderForModule(RuntimeAugments.GetModuleFromTypeHandle(declaringTypeHandle));
217
MetadataReader reader = ModuleList.
Instance
.GetMetadataReaderForModule(RuntimeAugments.GetModuleFromTypeHandle(declaringTypeHandle));
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.Metadata.cs (5)
163
NativeFormatModuleInfo module = ModuleList.
Instance
.GetModuleInfoForMetadataReader(metadataReader);
354
NativeFormatModuleInfo module = ModuleList.
Instance
.GetModuleInfoByHandle(moduleHandle);
502
NativeFormatModuleInfo module = ModuleList.
Instance
.GetModuleInfoForMetadataReader(method.NativeFormatReader);
644
TypeManagerHandle methodHandleModule = ModuleList.
Instance
.GetModuleForMetadataReader(metadataReader);
876
return _lookupMethodInfo.GetMethodDictionary(new MethodNameAndSignature(ModuleList.
Instance
.GetMetadataReaderForModule(_moduleHandle), _methodHandle), out dictionaryComponent);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.StaticsLookup.cs (1)
228
NativeFormatModuleInfo module = ModuleList.
Instance
.GetModuleInfoByHandle(moduleHandle);