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