GenericParameterAttributes {System.Reflection} .NET clr documentation

GenericParameterAttributes

Description

Declare

            
# namespace System.Reflection
export class GenericParameterAttributes extends Enum {
   None: GenericParameterAttributes = 0;

   Covariant: GenericParameterAttributes = 1;

   Contravariant: GenericParameterAttributes = 2;

   VarianceMask: GenericParameterAttributes = 3;

   ReferenceTypeConstraint: GenericParameterAttributes = 4;

   NotNullableValueTypeConstraint: GenericParameterAttributes = 8;

   DefaultConstructorConstraint: GenericParameterAttributes = 16;

   SpecialConstraintMask: GenericParameterAttributes = 28;

}

        

.NET clr type reference tree

  1. this class extends from Enum class: Enum
  2. use by field member None: GenericParameterAttributes
  3. use by field member Covariant: GenericParameterAttributes
  4. use by field member Contravariant: GenericParameterAttributes
  5. use by field member VarianceMask: GenericParameterAttributes
  6. use by field member ReferenceTypeConstraint: GenericParameterAttributes
  7. use by field member NotNullableValueTypeConstraint: GenericParameterAttributes
  8. use by field member DefaultConstructorConstraint: GenericParameterAttributes
  9. use by field member SpecialConstraintMask: GenericParameterAttributes

[Package {$package} version {$version} Index]