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