4 references to ExceptionMessages
System.Text.Json.SourceGeneration (4)
JsonSourceGenerator.Emitter.cs (4)
1321
string exceptionMessage = string.Format(
ExceptionMessages
.InvalidSerializablePropertyConfiguration, typeGenSpec.TypeRef.FullyQualifiedName);
1453
throw new {{JsonExceptionTypeRef}}(string.Format("{{
ExceptionMessages
.PropertyGetterDisallowNull}}", propertyName, {{FormatStringLiteral(typeGenSpec.TypeRef.Name)}}));
1956
throw new {{InvalidOperationExceptionTypeRef}}(string.Format("{{
ExceptionMessages
.IncompatibleConverterType}}", converter.GetType(), type));
1964
throw new {{InvalidOperationExceptionTypeRef}}(string.Format("{{
ExceptionMessages
.InvalidJsonConverterFactoryOutput}}", factory.GetType()));