TypeParameterVariance Enum
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Specifies the variance of a type parameter.
public enum TypeParameterVarianceFields
| Name | Value | Description |
|---|---|---|
| Invariant | 0 | The type parameter is invariant (neither covariant nor contravariant). |
| Covariant | 1 | The type parameter is covariant (declared with the out keyword). |
| Contravariant | 2 | The type parameter is contravariant (declared with the in keyword). |
