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