14 references to net_http_content_readonly_stream
System.Net.Http (14)
System\Net\Http\EmptyReadStream.cs (1)
34
public override void Write(ReadOnlySpan<byte> buffer) => throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (2)
1504
public override void Write(ReadOnlySpan<byte> buffer) => throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
1506
public 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)
23
public sealed override void Write(ReadOnlySpan<byte> buffer) => throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
System\Net\Http\StreamContent.cs (10)
160
throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
163
throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
166
throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
169
throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
172
throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
175
throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
178
throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
181
throw new NotSupportedException(SR.
net_http_content_readonly_stream
);
185
get => throw new InvalidOperationException(SR.
net_http_content_readonly_stream
);
186
set => throw new InvalidOperationException(SR.
net_http_content_readonly_stream
);