1 write to BytesWritten
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
1533
BytesWritten
+= buffer.Length;
4 references to BytesWritten
System.Net.Http (4)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (4)
229
if (writeStream.
BytesWritten
< writeStream.ContentLength)
232
throw new HttpRequestException(SR.Format(SR.net_http_request_content_length_mismatch, writeStream.
BytesWritten
, writeStream.ContentLength));
235
if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(writeStream.
BytesWritten
);
1535
if ((ulong)
BytesWritten
> (ulong)ContentLength) // If ContentLength == -1, this will always be false