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