25 references to Loader
System.Reflection.MetadataLoadContext (25)
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.Modules.cs (1)
28
if (!(moduleFromEvent is RoModule roModuleFromEvent && roModuleFromEvent.
Loader
== Loader))
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
86
public MetadataLoadContext Loader => GetRoModule().
Loader
;
System\Reflection\TypeLoading\Constructors\RoSyntheticConstructor.cs (1)
43
RoType returnType = GetRoModule().
Loader
.GetCoreType(CoreType.Void);
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeData.cs (1)
101
private MetadataLoadContext Loader => _module.
Loader
;
System\Reflection\TypeLoading\Events\Ecma\EcmaEvent.cs (1)
98
private MetadataLoadContext Loader => GetRoModule().
Loader
;
System\Reflection\TypeLoading\Events\RoEvent.cs (1)
84
private MetadataLoadContext Loader => GetRoModule().
Loader
;
System\Reflection\TypeLoading\Fields\Ecma\EcmaField.cs (1)
83
private MetadataLoadContext Loader => GetRoModule().
Loader
;
System\Reflection\TypeLoading\Fields\RoField.cs (1)
151
private MetadataLoadContext Loader => GetRoModule().
Loader
;
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (2)
97
CoreTypes ct = module.
Loader
.GetAllFoundCoreTypes();
113
CoreTypes ct = module.
Loader
.GetAllFoundCoreTypes();
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
177
return m.
Loader
.ResolveToAssemblyOrExceptionAssembly(roAssemblyName);
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodBody.cs (1)
87
private MetadataLoadContext Loader => GetEcmaModule().
Loader
;
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
154
private MetadataLoadContext Loader => GetRoModule().
Loader
;
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
130
public MetadataLoadContext Loader => GetRoModule().
Loader
;
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
136
private ref readonly ModuleDefinition ModuleDefinition { get {
Loader
.DisposeCheck(); return ref _neverAccessThisExceptThroughModuleDefinitionProperty; } }
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.ManifestResources.cs (1)
66
result.ReferencedAssembly =
Loader
.ResolveAssembly(destinationAssemblyName);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.TypeProvider.cs (4)
58
public RoType GetPrimitiveType(PrimitiveTypeCode typeCode) =>
Loader
.GetCoreType(typeCode.ToCoreType());
63
public RoType GetSystemType() =>
Loader
.GetCoreType(CoreType.Type);
64
public bool IsSystemType(RoType type) => type ==
Loader
.TryGetCoreType(CoreType.Type);
65
public PrimitiveTypeCode GetUnderlyingEnumType(RoType type) => type.GetEnumUnderlyingPrimitiveTypeCode(
Loader
);
System\Reflection\TypeLoading\Modules\RoModule.cs (1)
30
public sealed override string ToString() =>
Loader
.GetDisposedString() ?? base.ToString();
System\Reflection\TypeLoading\Parameters\Ecma\EcmaFatMethodParameter.cs (1)
69
private MetadataLoadContext Loader => GetEcmaModule().
Loader
;
System\Reflection\TypeLoading\Properties\Ecma\EcmaProperty.cs (1)
102
private MetadataLoadContext Loader => GetRoModule().
Loader
;
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
141
private new MetadataLoadContext Loader => _module.
Loader
;
System\Reflection\TypeLoading\Types\RoType.cs (1)
394
internal MetadataLoadContext Loader => GetRoModule().
Loader
;