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