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