ThrowUnsupportedUnionValue(object)
static
public static void ThrowUnsupportedUnionValue<TField>(object value) Throws an exception indicating that a value is not an instance of any case of a union type or closed type hierarchy.
Parameters
valueobject- The value.
