2 instantiations of HttpGeneralHeaders
System.Net.Http (2)
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
292
private HttpGeneralHeaders GeneralHeaders => _generalHeaders ??= new
HttpGeneralHeaders
(this);
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
170
private HttpGeneralHeaders GeneralHeaders => _generalHeaders ??= new
HttpGeneralHeaders
(this);
11 references to HttpGeneralHeaders
System.Net.Http (11)
System\Net\Http\Headers\HttpGeneralHeaders.cs (3)
57
internal static bool? GetConnectionClose(HttpHeaders parent,
HttpGeneralHeaders
? headers)
82
internal static bool? GetTransferEncodingChunked(HttpHeaders parent,
HttpGeneralHeaders
? headers)
156
internal void AddSpecialsFrom(
HttpGeneralHeaders
sourceHeaders)
System\Net\Http\Headers\HttpRequestHeaders.cs (4)
23
private
HttpGeneralHeaders
? _generalHeaders;
220
get { return
HttpGeneralHeaders
.GetConnectionClose(this, _generalHeaders); } // special-cased to avoid forcing _generalHeaders initialization
247
get { return
HttpGeneralHeaders
.GetTransferEncodingChunked(this, _generalHeaders); } // special-cased to avoid forcing _generalHeaders initialization
292
private
HttpGeneralHeaders
GeneralHeaders => _generalHeaders ??= new HttpGeneralHeaders(this);
System\Net\Http\Headers\HttpResponseHeaders.cs (4)
18
private
HttpGeneralHeaders
? _generalHeaders;
88
get { return
HttpGeneralHeaders
.GetConnectionClose(this, _generalHeaders); } // special-cased to avoid forcing _generalHeaders initialization
115
get { return
HttpGeneralHeaders
.GetTransferEncodingChunked(this, _generalHeaders); } // special-cased to avoid forcing _generalHeaders initialization
170
private
HttpGeneralHeaders
GeneralHeaders => _generalHeaders ??= new HttpGeneralHeaders(this);