2 writes to _httpResponseMessage
System.Net.Requests (2)
System\Net\HttpWebResponse.cs (2)
60_httpResponseMessage = _message; 373_httpResponseMessage = null!;
16 references to _httpResponseMessage
System.Net.Requests (16)
System\Net\HttpWebResponse.cs (16)
86return _httpResponseMessage.Content?.Headers.ContentLength ?? -1; 99if (_httpResponseMessage.Content != null && _httpResponseMessage.Content.Headers.TryGetValues("Content-Type", out IEnumerable<string>? values)) 117if (_httpResponseMessage.Content != null) 119return GetHeaderValueAsString(_httpResponseMessage.Content.Headers.ContentEncoding); 203foreach (var header in _httpResponseMessage.Headers) 208if (_httpResponseMessage.Content != null) 210foreach (var header in _httpResponseMessage.Content.Headers) 225return _httpResponseMessage.RequestMessage!.Method.Method; 237return _httpResponseMessage.RequestMessage!.RequestUri!; 246return _httpResponseMessage.StatusCode; 255return _httpResponseMessage.ReasonPhrase ?? string.Empty; 340if (_httpResponseMessage.Content != null) 342Stream contentStream = _httpResponseMessage.Content.ReadAsStream(); 369var httpResponseMessage = _httpResponseMessage; 379ObjectDisposedException.ThrowIf(_httpResponseMessage == null, this);