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