4 writes to BytesWritten
System.Net.Http (4)
System\Net\Http\SocketsHttpHandler\ChunkedEncodingWriteStream.cs (2)
23
BytesWritten
+= buffer.Length;
47
BytesWritten
+= buffer.Length;
System\Net\Http\SocketsHttpHandler\ContentLengthWriteStream.cs (2)
24
BytesWritten
+= buffer.Length;
38
BytesWritten
+= buffer.Length;
6 references to BytesWritten
System.Net.Http (6)
System\Net\Http\SocketsHttpHandler\ContentLengthWriteStream.cs (4)
26
if (
BytesWritten
> _contentLength)
40
if (
BytesWritten
> _contentLength)
52
if (
BytesWritten
!= _contentLength)
54
return Task.FromException(new HttpRequestException(SR.Format(SR.net_http_request_content_length_mismatch,
BytesWritten
, _contentLength)));
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (2)
970
Debug.Assert(stream.
BytesWritten
== 0);
989
if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(stream.
BytesWritten
);