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