1 write to ContentLength
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
1518ContentLength = contentLength;
3 references to ContentLength
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (3)
229if (writeStream.BytesWritten < writeStream.ContentLength) 232throw new HttpRequestException(SR.Format(SR.net_http_request_content_length_mismatch, writeStream.BytesWritten, writeStream.ContentLength)); 1535if ((ulong)BytesWritten > (ulong)ContentLength) // If ContentLength == -1, this will always be false