1 instantiation of EmptyReadStream
System.Net.Http (1)
System\Net\Http\EmptyReadStream.cs (1)
12internal static EmptyReadStream Instance { get; } = new EmptyReadStream();
9 references to EmptyReadStream
System.Net.Http (9)
System\Net\Http\EmptyContent.cs (3)
30EmptyReadStream.Instance; 33Task.FromResult<Stream>(EmptyReadStream.Instance); 39internal override Stream? TryCreateContentReadStream() => EmptyReadStream.Instance;
System\Net\Http\EmptyReadStream.cs (1)
12internal static EmptyReadStream Instance { get; } = new EmptyReadStream();
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
1091responseContent.SetStream(EmptyReadStream.Instance);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
245responseContent.SetStream(EmptyReadStream.Instance);
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (3)
782responseStream = EmptyReadStream.Instance; 818responseStream = EmptyReadStream.Instance; 2080Debug.Assert(responseStream != null || stream is EmptyReadStream);