11 writes to _ContentLength
System (11)
net\System\Net\HttpWebRequest.cs (11)
1011
_ContentLength
= value;
1132
_ContentLength
= _SubmitWriteStream.BufferedData.Length;
1141
_ContentLength
= 0;
1164
_ContentLength
= 0;
1172
_ContentLength
= _OldSubmitWriteStream.BufferedData.Length;
1180
_ContentLength
= -1;
1187
_ContentLength
= _originalContentLength;
1217
_ContentLength
= value;
1220
_ContentLength
= -1;
5162
_ContentLength
= -1;
5300
_ContentLength
= serializationInfo.GetInt64("_ContentLength");
7 references to _ContentLength
System (7)
net\System\Net\HttpWebRequest.cs (7)
1001
return
_ContentLength
;
1010
GlobalLog.Print("HttpWebRequest#" + ValidationHelper.HashString(this) + "::ContentLength_set() was:" +
_ContentLength
+ " now:" + value);
1127
long oldContentLength =
_ContentLength
;
1167
else if(
_ContentLength
== 0 || HttpWriteMode == HttpWriteMode.Chunked){
1210
GlobalLog.Print("HttpWebRequest#" + ValidationHelper.HashString(this) + "::SwitchToContentLength() ContentLength was:" + oldContentLength + " now:" +
_ContentLength
.ToString() + " returning:" + returnValue);
5003
_HttpRequestHeaders.ChangeInternal(HttpKnownHeaderNames.ContentLength,
_ContentLength
.ToString(NumberFormatInfo.InvariantInfo));
6118
( _HttpWriteMode == HttpWriteMode.Chunked ||
_ContentLength
> 0 ) &&