ILGenericParameterDef Type
Generic parameters. Formal generic parameter declarations may include the bounds, if any, on the generic parameter.
Record fields
Record Field |
Description
|
|
At most one is the parent type, the others are interface types.
|
|
Do not use this
|
Full Usage:
HasAllowsRefStruct
Field type: bool
|
Indicates the type parameter allows ref struct, i.e. an anti constraint.
|
Full Usage:
HasDefaultConstructorConstraint
Field type: bool
|
Indicates the type argument must have a public nullary constructor.
|
Full Usage:
HasNotNullableValueTypeConstraint
Field type: bool
|
Indicates the type argument must be a value type, but not Nullable.
|
Full Usage:
HasReferenceTypeConstraint
Field type: bool
|
Indicates the type argument must be a reference type.
|
Full Usage:
MetadataIndex
Field type: int32
|
Do not use this
|
Full Usage:
Name
Field type: string
|
|
|
Variance of type parameters, only applicable to generic parameters for generic interfaces and delegates.
|
Instance members
Instance member |
Description
|
|
|