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