2 types derived from RoModule
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
14
internal sealed partial class EcmaModule :
RoModule
System\Reflection\TypeLoading\Modules\RoResourceModule.cs (1)
13
internal sealed class RoResourceModule :
RoModule
52 references to RoModule
System.Reflection.MetadataLoadContext (52)
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.cs (1)
33
internal sealed override
RoModule
GetRoManifestModule() => _manifestModule;
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.Modules.cs (4)
19
protected sealed override
RoModule
LoadModule(string moduleName, bool containsMetadata)
28
if (!(moduleFromEvent is
RoModule
roModuleFromEvent && roModuleFromEvent.Loader == Loader))
52
protected sealed override
RoModule
CreateModule(Stream peStream, bool containsMetadata)
54
string location =
RoModule
.FullyQualifiedNameForModulesLoadedFromByteArrays;
System\Reflection\TypeLoading\Assemblies\RoAssembly.cs (6)
19
private readonly
RoModule
?[] _loadedModules; // Any loaded modules indexed by [rid - 1]. Does NOT include the manifest module.
26
_loadedModules = (assemblyFileCount == 0) ? Array.Empty<
RoModule
>() : new
RoModule
[assemblyFileCount];
30
internal abstract
RoModule
GetRoManifestModule();
70
foreach (
RoModule
module in ComputeRoModules(getResourceModules: false))
130
foreach (
RoModule
module in ComputeRoModules(getResourceModules: false))
System\Reflection\TypeLoading\Assemblies\RoAssembly.Modules.cs (12)
53
RoModule
? module = Volatile.Read(ref _loadedModules[i]);
62
internal
RoModule
? GetRoModule(string name)
73
private
RoModule
GetRoModule(in AssemblyFileInfo afi)
80
RoModule
? prior = Volatile.Read(ref _loadedModules[loadedModulesIndex]);
84
RoModule
newModule = LoadModule(moduleName, afi.ContainsMetadata);
88
internal
RoModule
[] ComputeRoModules(bool getResourceModules)
90
List<
RoModule
> modules = new List<
RoModule
>(_loadedModules.Length + 1);
93
RoModule
module = GetRoModule(afi);
113
RoModule
newModule = CreateModule(new MemoryStream(rawModule), afi.ContainsMetadata);
136
protected abstract
RoModule
LoadModule(string moduleName, bool containsMetadata);
137
protected abstract
RoModule
CreateModule(Stream peStream, bool containsMetadata);
System\Reflection\TypeLoading\Assemblies\RoStubAssembly.cs (3)
25
internal sealed override
RoModule
GetRoManifestModule() => throw null!;
27
protected sealed override
RoModule
LoadModule(string moduleName, bool containsMetadata) => throw null!;
29
protected sealed override
RoModule
CreateModule(Stream peStream, bool containsMetadata) => throw null!;
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
29
internal abstract
RoModule
GetRoModule();
System\Reflection\TypeLoading\Constructors\RoDefinitionConstructor.cs (1)
27
internal sealed override
RoModule
GetRoModule() => _decoder.GetRoModule();
System\Reflection\TypeLoading\Constructors\RoSyntheticConstructor.cs (1)
30
internal sealed override
RoModule
GetRoModule() => GetRoDeclaringType().GetRoModule();
System\Reflection\TypeLoading\Events\Ecma\EcmaEvent.cs (1)
34
internal sealed override
RoModule
GetRoModule() => _module;
System\Reflection\TypeLoading\Events\RoEvent.cs (1)
40
internal abstract
RoModule
GetRoModule();
System\Reflection\TypeLoading\Fields\Ecma\EcmaField.cs (1)
33
internal sealed override
RoModule
GetRoModule() => _module;
System\Reflection\TypeLoading\Fields\RoField.cs (1)
42
internal abstract
RoModule
GetRoModule();
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
103
RoModule
? targetModule = module.GetRoAssembly().GetRoModule(moduleName);
System\Reflection\TypeLoading\General\Sentinels.cs (1)
31
internal sealed override
RoModule
GetRoModule() => throw null!;
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
24
public
RoModule
GetRoModule() => _module;
System\Reflection\TypeLoading\MethodBase\IMethodDecoder.cs (1)
15
RoModule
GetRoModule();
System\Reflection\TypeLoading\Methods\RoConstructedGenericMethod.cs (1)
29
internal sealed override
RoModule
GetRoModule() => _genericMethodDefinition.GetRoModule();
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.cs (1)
45
internal sealed override
RoModule
GetRoModule() => _decoder.GetRoModule();
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
37
internal abstract
RoModule
GetRoModule();
System\Reflection\TypeLoading\Methods\RoSyntheticMethod.cs (1)
33
internal sealed override
RoModule
GetRoModule() => GetRoDeclaringType().GetRoModule();
System\Reflection\TypeLoading\Properties\Ecma\EcmaProperty.cs (1)
33
internal sealed override
RoModule
GetRoModule() => _module;
System\Reflection\TypeLoading\Properties\RoProperty.cs (1)
41
internal abstract
RoModule
GetRoModule();
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
29
internal sealed override
RoModule
GetRoModule() => _module;
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (1)
27
internal sealed override
RoModule
GetRoModule() => _ecmaModule;
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
61
internal sealed override
RoModule
GetRoModule() => _genericTypeDefinition.GetRoModule();
System\Reflection\TypeLoading\Types\RoExceptionType.cs (1)
29
internal sealed override
RoModule
GetRoModule() => throw null!;
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
103
internal sealed override
RoModule
GetRoModule() => _module;
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
37
internal sealed override
RoModule
GetRoModule() => _elementType.GetRoModule();
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
139
internal override
RoModule
GetRoModule() => _unmodifiedType.GetRoModule();
System\Reflection\TypeLoading\Types\RoStubType.cs (1)
32
internal sealed override
RoModule
GetRoModule() => throw null!;
System\Reflection\TypeLoading\Types\RoType.cs (1)
136
internal abstract
RoModule
GetRoModule();