VarianceAnnotation Enum
Specifies the variance annotation for a type parameter.
public enum VarianceAnnotation
Fields
Name | Description |
---|---|
Contravariant | The matching type can be less derived than what is defined (marked in C# via |
Covariant | The matching type can be more derived than what is defined (marked in C# via |
Invariant | No variance annotation, the default value. |