CorGenericParamAttr class

Contains values that describe the Type parameters for generic types.

Constructors

CorGenericParamAttr()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

gpContravariant → const int
Indicates contravariance.
gpCovariant → const int
Indicates covariance.
gpDefaultConstructorConstraint → const int
Indicates that the Type parameter must have a default public constructor that takes no parameters.
gpNonVariant → const int
Indicates the absence of variance.
gpNoSpecialConstraint → const int
Indicates that no constraint applies to the Type parameter.
gpNotNullableValueTypeConstraint → const int
Indicates that the Type parameter must be a value type that cannot be a null value.
gpReferenceTypeConstraint → const int
Indicates that the Type parameter must be a reference type.
gpSpecialConstraintMask → const int
Special constraints can apply to any Type parameter.
gpVarianceMask → const int
Parameter variance applies only to generic parameters for interfaces and delegates.