2 references to UnionCannotCreateValue
System.Text.Json (2)
System\Text\Json\ThrowHelper.Serialization.cs (2)
1015
ThrowJsonException(SR.Format(SR.
UnionCannotCreateValue
, unionType));
1051
throw new InvalidOperationException(SR.Format(SR.
UnionCannotCreateValue
, unionType));