2 references to JsonExceptionTypeRef
System.Text.Json.SourceGeneration (2)
JsonSourceGenerator.Emitter.cs (2)
659
writer.WriteLine($"_ => throw new {
JsonExceptionTypeRef
}(),");
1565
throw new {{
JsonExceptionTypeRef
}}(string.Format("{{ExceptionMessages.PropertyGetterDisallowNull}}", propertyName, {{FormatStringLiteral(typeGenSpec.TypeRef.Name)}}));