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