mscorlib(4.0.0.0) API with additions
GenericParameterAttributes.cs
1 namespace System.Reflection
2 {
4  [Flags]
5  [__DynamicallyInvokable]
7  {
9  [__DynamicallyInvokable]
10  None = 0x0,
12  [__DynamicallyInvokable]
13  VarianceMask = 0x3,
15  [__DynamicallyInvokable]
16  Covariant = 0x1,
18  [__DynamicallyInvokable]
19  Contravariant = 0x2,
21  [__DynamicallyInvokable]
22  SpecialConstraintMask = 0x1C,
24  [__DynamicallyInvokable]
27  [__DynamicallyInvokable]
30  [__DynamicallyInvokable]
32  }
33 }
The generic type parameter is covariant. A covariant type parameter can appear as the result type of ...
GenericParameterAttributes
Describes the constraints on a generic type parameter of a generic type or method.
A type can be substituted for the generic type parameter only if it is a reference type.
Selects the combination of all variance flags. This value is the result of using logical OR to combin...
Selects the combination of all special constraint flags. This value is the result of using logical OR...
A type can be substituted for the generic type parameter only if it is a value type and is not nullab...
A type can be substituted for the generic type parameter only if it has a parameterless constructor.
The generic type parameter is contravariant. A contravariant type parameter can appear as a parameter...