1 instantiation of ModuleList
System.Private.TypeLoader (1)
Internal\Runtime\TypeLoader\ModuleList.cs (1)
247
public static ModuleList Instance { get; } = new
ModuleList
();
37 references to ModuleList
System.Private.Reflection.Execution (3)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.ManifestResources.cs (2)
38
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
97
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.MappingTables.cs (1)
461
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
System.Private.StackTraceMetadata (4)
Internal\StackTraceMetadata\StackTraceMetadata.cs (4)
57
foreach (NativeFormatModuleInfo moduleInfo in
ModuleList
.EnumerateModules())
125
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
190
foreach (NativeFormatModuleInfo moduleInfo in
ModuleList
.EnumerateModules())
386
if (!
ModuleList
.Instance.TryGetModuleInfoByHandle(handle, out moduleInfo))
System.Private.TypeLoader (30)
Internal\Reflection\Execution\AssemblyBinderImplementation.cs (1)
29
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
Internal\Runtime\TypeLoader\ModuleList.cs (1)
247
public static
ModuleList
Instance { get; } = new ModuleList();
Internal\Runtime\TypeLoader\TemplateLocator.cs (2)
32
foreach (NativeFormatModuleInfo moduleInfo in
ModuleList
.EnumerateModules())
83
foreach (NativeFormatModuleInfo moduleInfo in
ModuleList
.EnumerateModules())
Internal\Runtime\TypeLoader\TypeBuilder.cs (1)
1032
NativeFormatModuleInfo moduleInfo =
ModuleList
.Instance.GetModuleInfoByHandle(typeManager);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericMethodsLookup.cs (3)
266
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
372
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
431
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericTypesLookup.cs (1)
253
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.cs (1)
32
return
ModuleList
.Instance.GetModuleForMetadataReader(reader);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.FieldAccess.cs (1)
60
foreach (NativeFormatModuleInfo mappingTableModule in
ModuleList
.EnumerateModules(RuntimeAugments.GetModuleFromTypeHandle(declaringTypeHandle)))
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.GVMResolution.cs (4)
152
return new MethodNameAndSignature(
ModuleList
.Instance.GetMetadataReaderForModule(moduleHandle), token.AsHandle().ToMethodHandle(null));
224
nativeLayoutContext._module =
ModuleList
.Instance.GetModuleInfoByHandle(module.Handle);
341
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules(RuntimeAugments.GetModuleFromTypeHandle(openTargetTypeHandle)))
470
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules(RuntimeAugments.GetModuleFromTypeHandle(openTargetTypeHandle)))
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 (12)
108
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules(RuntimeAugments.GetModuleFromTypeHandle(runtimeTypeHandle)))
163
NativeFormatModuleInfo module =
ModuleList
.Instance.GetModuleInfoForMetadataReader(metadataReader);
210
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
254
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
288
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
354
NativeFormatModuleInfo module =
ModuleList
.Instance.GetModuleInfoByHandle(moduleHandle);
419
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules())
441
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules(RuntimeAugments.GetModuleFromTypeHandle(runtimeTypeHandle)))
502
NativeFormatModuleInfo module =
ModuleList
.Instance.GetModuleInfoForMetadataReader(method.NativeFormatReader);
644
TypeManagerHandle methodHandleModule =
ModuleList
.Instance.GetModuleForMetadataReader(metadataReader);
646
foreach (NativeFormatModuleInfo module in
ModuleList
.EnumerateModules(RuntimeAugments.GetModuleFromTypeHandle(declaringTypeHandle)))
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);