Table of Contents

Enum UnionTypeShapeKind

Namespace
PolyType.Abstractions
Assembly
PolyType.dll

Identifies the union representation described by an IUnionTypeShape.

public enum UnionTypeShapeKind

Fields

CSharpUnion = 2

A type implementing the C# union member pattern.

FSharpUnion = 3

An F# discriminated union.

TypeHierarchy = 1

A class or interface hierarchy with registered derived types.

Unknown = 0

The union representation is not specified, including shapes produced by older source generators.