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