7 references to GetEcmaModule
System.Reflection.MetadataLoadContext (7)
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericMethodParameterType.cs (1)
27
private RoMethod ComputeDeclaringMethod() => ((MethodDefinitionHandle)(GenericParameter.Parent)).ResolveMethod<RoMethod>(
GetEcmaModule
(), default);
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (5)
33
public sealed override IEnumerable<CustomAttributeData> CustomAttributes => GenericParameter.GetCustomAttributes().ToTrueCustomAttributes(
GetEcmaModule
());
34
internal sealed override bool IsCustomAttributeDefined(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => GenericParameter.GetCustomAttributes().IsCustomAttributeDefined(ns, name,
GetEcmaModule
());
35
internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => GenericParameter.GetCustomAttributes().TryFindCustomAttribute(ns, name,
GetEcmaModule
());
52
RoType constraint = h.GetGenericParameterConstraint(reader).Type.ResolveTypeDefRefOrSpec(
GetEcmaModule
(), typeContext);
73
internal MetadataReader Reader =>
GetEcmaModule
().Reader;
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericTypeParameterType.cs (1)
24
EcmaDefinitionType declaringType = declaringTypeHandle.ResolveTypeDef(
GetEcmaModule
());