3 references to InvalidOperationExceptionTypeRef
System.Text.Json.SourceGeneration (3)
JsonSourceGenerator.Emitter.cs (3)
1514
writer.WriteLine($"""throw new {
InvalidOperationExceptionTypeRef
}("{exceptionMessage}");""");
2186
throw new {{
InvalidOperationExceptionTypeRef
}}(string.Format("{{ExceptionMessages.IncompatibleConverterType}}", converter.GetType(), type));
2194
throw new {{
InvalidOperationExceptionTypeRef
}}(string.Format("{{ExceptionMessages.InvalidJsonConverterFactoryOutput}}", factory.GetType()));