3 references to ThrowJsonException_UnionRuntimeTypeNotMatchedToCase
System.Text.Json (3)
System\Text\Json\Serialization\Converters\Union\JsonUnionConverter.cs (1)
117
ThrowHelper.
ThrowJsonException_UnionRuntimeTypeNotMatchedToCase
(typeToConvert, caseType);
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Union.cs (2)
261
ThrowHelper.
ThrowJsonException_UnionRuntimeTypeNotMatchedToCase
(typeof(TUnion), runtimeType);
369
ThrowHelper.
ThrowJsonException_UnionRuntimeTypeNotMatchedToCase
(typeof(TUnion), caseType);