Table of Contents

Enum VarianceModifier

Namespace
ICSharpCode.Decompiler.TypeSystem
Assembly
ICSharpCode.Decompiler.dll

Represents the variance of a type parameter.

public enum VarianceModifier : byte

Fields

Contravariant = 2

The type parameter is contravariant (used in input position).

Covariant = 1

The type parameter is covariant (used in output position).

Invariant = 0

The type parameter is not variant.