13 references to GetEcmaModule
System.Reflection.MetadataLoadContext (13)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.BindingFlags.cs (4)
27
yield return new RoDefinitionConstructor<EcmaMethodDecoder>(declaringType, new EcmaMethodDecoder(handle,
GetEcmaModule
()));
41
yield return new RoDefinitionMethod<EcmaMethodDecoder>(declaringType, reflectedType, new EcmaMethodDecoder(handle,
GetEcmaModule
()));
83
yield return handle.ResolveTypeDef(
GetEcmaModule
());
98
match = handle.ResolveTypeDef(
GetEcmaModule
());
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (9)
37
return TypeDefinition.GetDeclaringType().ResolveTypeDef(
GetEcmaModule
());
57
return baseTypeHandle.ResolveTypeDefRefOrSpec(
GetEcmaModule
(), instantiation.ToTypeContext());
63
EcmaModule module =
GetEcmaModule
();
72
protected sealed override IEnumerable<CustomAttributeData> GetTrueCustomAttributes() => TypeDefinition.GetCustomAttributes().ToTrueCustomAttributes(
GetEcmaModule
());
74
internal sealed override bool IsCustomAttributeDefined(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => TypeDefinition.GetCustomAttributes().IsCustomAttributeDefined(ns, name,
GetEcmaModule
());
75
internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => TypeDefinition.GetCustomAttributes().TryFindCustomAttribute(ns, name,
GetEcmaModule
());
85
EcmaModule module =
GetEcmaModule
();
119
underlyingType = fd.DecodeSignature(
GetEcmaModule
(), typeContext);
142
private MetadataReader Reader =>
GetEcmaModule
().Reader;