Header menu logo F# Compiler Guide

ILGenericParameterDef Type

Generic parameters. Formal generic parameter declarations may include the bounds, if any, on the generic parameter.

Record fields

Record Field Description

Constraints

Full Usage: Constraints

Field type: ILTypes

At most one is the parent type, the others are interface types.

Field type: ILTypes

CustomAttrsStored

Full Usage: CustomAttrsStored

Field type: ILAttributesStored

Do not use this

Field type: ILAttributesStored

HasAllowsRefStruct

Full Usage: HasAllowsRefStruct

Field type: bool

Indicates the type parameter allows ref struct, i.e. an anti constraint.

Field type: bool

HasDefaultConstructorConstraint

Full Usage: HasDefaultConstructorConstraint

Field type: bool

Indicates the type argument must have a public nullary constructor.

Field type: bool

HasNotNullableValueTypeConstraint

Full Usage: HasNotNullableValueTypeConstraint

Field type: bool

Indicates the type argument must be a value type, but not Nullable.

Field type: bool

HasReferenceTypeConstraint

Full Usage: HasReferenceTypeConstraint

Field type: bool

Indicates the type argument must be a reference type.

Field type: bool

MetadataIndex

Full Usage: MetadataIndex

Field type: int32

Do not use this

Field type: int32

Name

Full Usage: Name

Field type: string
Field type: string

Variance

Full Usage: Variance

Field type: ILGenericVariance

Variance of type parameters, only applicable to generic parameters for generic interfaces and delegates.

Field type: ILGenericVariance

Instance members

Instance member Description

this.CustomAttrs

Full Usage: this.CustomAttrs

Returns: ILAttributes
Returns: ILAttributes

Type something to start searching.