System.Reflection.GenericParameterAttributes Enum

public enum GenericParameterAttributes

Base Types

Object
  ValueType
    Enum
      GenericParameterAttributes

Assembly

mscorlib

Library

Reflection

Summary

Enumerates the attributes on a generic parameter.

Attributes

FlagsAttribute

See Also

System.Reflection Namespace

Members

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


GenericParameterAttributes.Contravariant Field

Contravariant = 0x2;

Summary

Specifies that the generic parameter is contravariant.

See Also

System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace

GenericParameterAttributes.Covariant Field

Covariant = 0x1;

Summary

Specifies that the generic parameter is covariant.

See Also

System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace

GenericParameterAttributes.DefaultConstructorConstraint Field

DefaultConstructorConstraint = 0x10;

Summary

Specifies that the generic parameter has the ".ctor " special constraint.

See Also

System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace

GenericParameterAttributes.None Field

None = 0x0;

Summary

Specifies that the generic parameter is nonvariant and has no special constraints.

See Also

System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace

GenericParameterAttributes.NotNullableValueTypeConstraint Field

NotNullableValueTypeConstraint = 0x8;

Summary

Specifies that the generic parameter has the "valuetype " special constraint.

See Also

System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace

GenericParameterAttributes.ReferenceTypeConstraint Field

ReferenceTypeConstraint = 0x4;

Summary

Specifies that the generic parameter has the "class " special constraint.

See Also

System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace

GenericParameterAttributes.SpecialConstraintMask Field

SpecialConstraintMask = 0x1C;

Summary

Specifies a bit-mask that when combined with a generic parameter's flags value yields the special constraints bits.

See Also

System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace

GenericParameterAttributes.VarianceMask Field

VarianceMask = 0x3;

Summary

Specifies a bit-mask that when combined with a generic parameter's flags value yields the variance bits.

See Also

System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace

GenericParameterAttributes.value__ Field

value__;

See Also

System.Reflection.GenericParameterAttributes Enum, System.Reflection Namespace