1 write to _webHeaderCollection
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
921_webHeaderCollection = newWebHeaders;
23 references to _webHeaderCollection
System.Net.Requests (23)
System\Net\HttpWebRequest.cs (23)
217_webHeaderCollection.Remove(HeaderName); 220_webHeaderCollection[HeaderName] = value; 228return _webHeaderCollection[HttpKnownHeaderNames.Accept]; 279return _webHeaderCollection[HttpKnownHeaderNames.ContentType]; 329long.TryParse(_webHeaderCollection[HttpKnownHeaderNames.ContentLength], out value); 355return _webHeaderCollection[HttpKnownHeaderNames.UserAgent]; 426return _webHeaderCollection[HttpKnownHeaderNames.Referer]; 448return _webHeaderCollection[HttpKnownHeaderNames.TransferEncoding]; 461_webHeaderCollection.Remove(HttpKnownHeaderNames.TransferEncoding); 486_webHeaderCollection[HttpKnownHeaderNames.TransferEncoding] = checkedValue; 589return _webHeaderCollection[HttpKnownHeaderNames.Connection]; 601_webHeaderCollection.Remove(HttpKnownHeaderNames.Connection); 620_webHeaderCollection[HttpKnownHeaderNames.Connection] = checkedValue; 639return _webHeaderCollection[HttpKnownHeaderNames.Expect]; 652_webHeaderCollection.Remove(HttpKnownHeaderNames.Expect); 669_webHeaderCollection[HttpKnownHeaderNames.Expect] = checkedValue; 899return _webHeaderCollection; 1193foreach (string headerName in _webHeaderCollection) 1201_sendRequestMessage.Content.Headers.TryAddWithoutValidation(headerName, _webHeaderCollection[headerName!]); 1205_sendRequestMessage.Headers.TryAddWithoutValidation(headerName, _webHeaderCollection[headerName!]); 1535string? curRange = _webHeaderCollection[HttpKnownHeaderNames.Range]; 1554_webHeaderCollection[HttpKnownHeaderNames.Range] = curRange; 1602string? headerValue = _webHeaderCollection[headerName];