Enum UnionTypeShapeKind
- Namespace
- PolyType.Abstractions
- Assembly
- PolyType.dll
Identifies the union representation described by an IUnionTypeShape.
public enum UnionTypeShapeKind
Fields
CSharpUnion = 2A type implementing the C# union member pattern.
FSharpUnion = 3An F# discriminated union.
TypeHierarchy = 1A class or interface hierarchy with registered derived types.
Unknown = 0The union representation is not specified, including shapes produced by older source generators.