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