PublicApiTypeParameterReference Class

A reference to a generic parameter of a type or of a method.

public sealed class PublicApiTypeParameterReference : PublicApiTypeReference
Inheritance
PublicApiTypeReference PublicApiTypeParameterReference

Properties

NameDescription
IsMethodTypeParameterGets a value indicating whether the generic parameter is declared by a method rather than by a type.
Kind
Name
OrdinalGets the position of the generic parameter. For a nested type, the position includes the generic parameters of its containing types, as in metadata.

Gets a value indicating whether the generic parameter is declared by a method rather than by a type.

public bool IsMethodTypeParameter { get; }

Property value

bool

public override PublicApiTypeReferenceKind Kind { get; }

No documentation is available.

public string Name { get; }

Property value

string

No documentation is available.

Gets the position of the generic parameter. For a nested type, the position includes the generic parameters of its containing types, as in metadata.

public int Ordinal { get; }

Property value

int