OneOf 3.0.271 OneOf - Easy Discriminated Unions for c# Harry McIntyre https://github.com/mcintyre321/OneOf/blob/master/licence.md https://github.com/mcintyre321/OneOf/ F# style discriminated unions for C#, using a custom type OneOf<T0, ... Tn> which holds a single value and has a .Match(...) method on it for exhaustive matching. Simple but powerful. Harry McIntyre discriminated unions, return type, match switch