Enumerates the attributes on a generic parameter.
[
Edit]
[System.Flags] public enum GenericParameterAttributes |
|
Remarks
Members
Member Name | Description |
---|
Contravariant | Specifies that the generic parameter is contravariant.
[Edit]
|
Covariant | Specifies that the generic parameter is covariant.
[Edit]
|
DefaultConstructorConstraint | Specifies that the generic parameter has the ".ctor" special constraint.
[Edit]
|
None | Specifies that the generic parameter is nonvariant and has no special constraints.
[Edit]
|
NotNullableValueTypeConstraint | Specifies that the generic parameter has the "valuetype" special constraint.
[Edit]
|
ReferenceTypeConstraint | Specifies that the generic parameter has the "class" special constraint.
[Edit]
|
SpecialConstraintMask | Specifies a bit-mask that when combined with a generic parameter's flags value yields the special constraints bits.
[Edit]
|
VarianceMask | Specifies a bit-mask that when combined with a generic parameter's flags value yields the variance bits.
[Edit]
|
Requirements
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0