29 references to Loader
System.Reflection.MetadataLoadContext (29)
System\Reflection\DefaultBinder.cs (1)
22
private bool IsImplementedByMetadataLoadContext(Type type) => type is RoType roType && roType.
Loader
== _loader;
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.cs (1)
117
if (!(typeArgument is RoType roTypeArgument && roTypeArgument.
Loader
== Loader))
System\Reflection\TypeLoading\RuntimeTypeInfo.BindingFlags.cs (3)
41
binder ??=
Loader
.GetDefaultBinder();
98
binder ??=
Loader
.GetDefaultBinder();
159
binder ??=
Loader
.GetDefaultBinder();
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (1)
76
protected ref readonly GenericParameter GenericParameter { get {
Loader
.DisposeCheck(); return ref _neverAccessThisExceptThroughGenericParameterProperty; } }
System\Reflection\TypeLoading\Types\RoArrayType.cs (5)
37
internal sealed override RoType? ComputeBaseTypeWithoutDesktopQuirk() =>
Loader
.GetCoreType(CoreType.Array);
47
RoType? ifc =
Loader
.TryGetCoreType(coreType);
79
RoType systemInt32 =
Loader
.GetCoreType(CoreType.Int32);
156
RoType systemInt32 =
Loader
.GetCoreType(CoreType.Int32);
158
RoType systemVoid =
Loader
.GetCoreType(CoreType.Void);
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (6)
57
public sealed override string ToString() =>
Loader
.GetDisposedString() ?? FullName!;
72
ConstructorInfo? ci =
Loader
.TryGetComImportCtor();
115
if (!(typeArgument is RoType roTypeArgument && roTypeArgument.
Loader
==
Loader
))
139
if (cta.ArgumentType !=
Loader
.TryGetCoreType(CoreType.String))
187
CoreTypes ct =
Loader
.GetAllFoundCoreTypes();
System\Reflection\TypeLoading\Types\RoGenericParameterType.cs (2)
36
public sealed override string ToString() =>
Loader
.GetDisposedString() ?? Name;
74
return
Loader
.GetCoreType(CoreType.Object);
System\Reflection\TypeLoading\Types\RoModifiedFunctionPointerType.cs (4)
46
private Type CDeclType =>
Loader
.GetCoreType(CoreType.CallConvCdecl);
47
private Type StdCallType =>
Loader
.GetCoreType(CoreType.CallConvStdcall);
48
private Type ThisCallType =>
Loader
.GetCoreType(CoreType.CallConvThiscall);
49
private Type FastCallType =>
Loader
.GetCoreType(CoreType.CallConvFastcall);
System\Reflection\TypeLoading\Types\RoType.cs (4)
170
baseType =
Loader
.GetCoreType(CoreType.Object);
261
if (!(c is RoType roType && roType.
Loader
==
Loader
))
264
return Assignability.IsAssignableFrom(this, c,
Loader
.GetAllFoundCoreTypes());
System\Reflection\TypeLoading\Types\RoType.TypeClassification.cs (2)
52
CoreTypes coreTypes =
Loader
.GetAllFoundCoreTypes();
73
CoreTypes coreTypes =
Loader
.GetAllFoundCoreTypes();