9 references to GenericParameter
System.Reflection.MetadataLoadContext (9)
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 (7)
29protected sealed override int ComputePosition() => GenericParameter.Index; 30protected sealed override string ComputeName() => GenericParameter.Name.GetString(Reader); 31public sealed override GenericParameterAttributes GenericParameterAttributes => GenericParameter.Attributes; 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()); 42GenericParameterConstraintHandleCollection handles = GenericParameter.GetConstraints();
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericTypeParameterType.cs (1)
23TypeDefinitionHandle declaringTypeHandle = (TypeDefinitionHandle)(GenericParameter.Parent);