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)
25BytesWritten += buffer.Length; 39BytesWritten += buffer.Length;
6 references to BytesWritten
System.Net.Http (6)
System\Net\Http\SocketsHttpHandler\ContentLengthWriteStream.cs (4)
27if (BytesWritten > _contentLength) 41if (BytesWritten > _contentLength) 53if (BytesWritten != _contentLength) 55return Task.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new HttpRequestException(SR.Format(SR.net_http_request_content_length_mismatch, BytesWritten, _contentLength))));
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (2)
972Debug.Assert(stream.BytesWritten == 0); 991if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(stream.BytesWritten);