14 references to net_http_content_readonly_stream
System.Net.Http (14)
System\Net\Http\EmptyReadStream.cs (1)
34public override void Write(ReadOnlySpan<byte> buffer) => throw new NotSupportedException(SR.net_http_content_readonly_stream);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (2)
1504public override void Write(ReadOnlySpan<byte> buffer) => throw new NotSupportedException(SR.net_http_content_readonly_stream); 1506public override ValueTask WriteAsync(ReadOnlyMemory<byte> destination, CancellationToken cancellationToken) => ValueTask.FromException(new NotSupportedException(SR.net_http_content_readonly_stream));
System\Net\Http\SocketsHttpHandler\HttpContentReadStream.cs (1)
23public sealed override void Write(ReadOnlySpan<byte> buffer) => throw new NotSupportedException(SR.net_http_content_readonly_stream);
System\Net\Http\StreamContent.cs (10)
160throw new NotSupportedException(SR.net_http_content_readonly_stream); 163throw new NotSupportedException(SR.net_http_content_readonly_stream); 166throw new NotSupportedException(SR.net_http_content_readonly_stream); 169throw new NotSupportedException(SR.net_http_content_readonly_stream); 172throw new NotSupportedException(SR.net_http_content_readonly_stream); 175throw new NotSupportedException(SR.net_http_content_readonly_stream); 178throw new NotSupportedException(SR.net_http_content_readonly_stream); 181throw new NotSupportedException(SR.net_http_content_readonly_stream); 185get => throw new InvalidOperationException(SR.net_http_content_readonly_stream); 186set => throw new InvalidOperationException(SR.net_http_content_readonly_stream);