8 overrides of GetRoModule
System.Reflection.MetadataLoadContext (8)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
29internal sealed override RoModule GetRoModule() => _module;
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (1)
27internal sealed override RoModule GetRoModule() => _ecmaModule;
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
61internal sealed override RoModule GetRoModule() => _genericTypeDefinition.GetRoModule();
System\Reflection\TypeLoading\Types\RoExceptionType.cs (1)
29internal sealed override RoModule GetRoModule() => throw null!;
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
103internal sealed override RoModule GetRoModule() => _module;
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
37internal sealed override RoModule GetRoModule() => _elementType.GetRoModule();
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
139internal override RoModule GetRoModule() => _unmodifiedType.GetRoModule();
System\Reflection\TypeLoading\Types\RoStubType.cs (1)
32internal sealed override RoModule GetRoModule() => throw null!;
12 references to GetRoModule
System.Reflection.MetadataLoadContext (12)
System\Reflection\TypeLoading\Constructors\RoSyntheticConstructor.cs (1)
30internal sealed override RoModule GetRoModule() => GetRoDeclaringType().GetRoModule();
System\Reflection\TypeLoading\General\TypeFactories.cs (5)
11public static RoArrayType GetUniqueArrayType(this RoType elementType) => elementType.GetRoModule().GetUniqueArrayType(elementType); 12public static RoArrayType GetUniqueArrayType(this RoType elementType, int rank) => elementType.GetRoModule().GetUniqueArrayType(elementType, rank); 13public static RoByRefType GetUniqueByRefType(this RoType elementType) => elementType.GetRoModule().GetUniqueByRefType(elementType); 14public static RoPointerType GetUniquePointerType(this RoType elementType) => elementType.GetRoModule().GetUniquePointerType(elementType); 15public static RoConstructedGenericType GetUniqueConstructedGenericType(this RoDefinitionType genericTypeDefinition, RoType[] genericTypeArguments) => genericTypeDefinition.GetRoModule().GetUniqueConstructedGenericType(genericTypeDefinition, genericTypeArguments);
System\Reflection\TypeLoading\Methods\RoSyntheticMethod.cs (1)
33internal sealed override RoModule GetRoModule() => GetRoDeclaringType().GetRoModule();
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
61internal sealed override RoModule GetRoModule() => _genericTypeDefinition.GetRoModule();
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
37internal sealed override RoModule GetRoModule() => _elementType.GetRoModule();
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
139internal override RoModule GetRoModule() => _unmodifiedType.GetRoModule();
System\Reflection\TypeLoading\Types\RoType.cs (2)
135public sealed override Module Module => GetRoModule(); 394internal MetadataLoadContext Loader => GetRoModule().Loader;