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