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)
86
return
_httpResponseMessage
.Content?.Headers.ContentLength ?? -1;
99
if (
_httpResponseMessage
.Content != null &&
_httpResponseMessage
.Content.Headers.TryGetValues("Content-Type", out IEnumerable<string>? values))
117
if (
_httpResponseMessage
.Content != null)
119
return GetHeaderValueAsString(
_httpResponseMessage
.Content.Headers.ContentEncoding);
203
foreach (var header in
_httpResponseMessage
.Headers)
208
if (
_httpResponseMessage
.Content != null)
210
foreach (var header in
_httpResponseMessage
.Content.Headers)
225
return
_httpResponseMessage
.RequestMessage!.Method.Method;
237
return
_httpResponseMessage
.RequestMessage!.RequestUri!;
246
return
_httpResponseMessage
.StatusCode;
255
return
_httpResponseMessage
.ReasonPhrase ?? string.Empty;
340
if (
_httpResponseMessage
.Content != null)
342
Stream contentStream =
_httpResponseMessage
.Content.ReadAsStream();
369
var httpResponseMessage =
_httpResponseMessage
;
379
ObjectDisposedException.ThrowIf(
_httpResponseMessage
== null, this);