public enum GenericParameterAttributes
Object
ValueType
Enum
GenericParameterAttributes
mscorlib
Reflection
Enumerates the attributes on a generic parameter.
FlagsAttribute
System.Reflection Namespace
GenericParameterAttributes Fields
GenericParameterAttributes.Contravariant Field
GenericParameterAttributes.Covariant Field
GenericParameterAttributes.DefaultConstructorConstraint Field
GenericParameterAttributes.None Field
GenericParameterAttributes.NotNullableValueTypeConstraint Field
GenericParameterAttributes.ReferenceTypeConstraint Field
GenericParameterAttributes.SpecialConstraintMask Field
GenericParameterAttributes.VarianceMask Field
GenericParameterAttributes.value__ Field
Contravariant = 0x2;
Specifies that the generic parameter is contravariant.
System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace
Covariant = 0x1;
Specifies that the generic parameter is covariant.
System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace
DefaultConstructorConstraint = 0x10;
Specifies that the generic parameter has the ".ctor
" special constraint.
System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace
None = 0x0;
Specifies that the generic parameter is nonvariant and has no special constraints.
System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace
NotNullableValueTypeConstraint = 0x8;
Specifies that the generic parameter has the "valuetype
" special constraint.
System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace
ReferenceTypeConstraint = 0x4;
Specifies that the generic parameter has the "class
" special constraint.
System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace
SpecialConstraintMask = 0x1C;
Specifies a bit-mask that when combined with a generic parameter's flags value yields the special constraints bits.
System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace
VarianceMask = 0x3;
Specifies a bit-mask that when combined with a generic parameter's flags value yields the variance bits.
System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace
value__;
System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace