Click or drag to resize

VarianceKind Class



An enumeration declaring the kinds of variance supported for generic type parameters.
Inheritance Hierarchy
SystemEnum
  Microsoft.CodeAnalysisVarianceKind

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class VarianceKind : Enum

The VarianceKind type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberIn
Contravariant (in).
Public fieldStatic memberNone
Invariant.
Public fieldStatic memberOut
Covariant (out).
Public fieldvalue__
Top
See Also