2 writes to _privateHeaders
System.Net.Http (2)
System\Net\Http\Headers\CacheControlHeaderValue.cs (2)
149
public ICollection<string> PrivateHeaders =>
_privateHeaders
??= new TokenObjectCollection();
454
success = TrySetOptionalTokenList(nameValue, ref cc.
_privateHeaders
);
9 references to _privateHeaders
System.Net.Http (9)
System\Net\Http\Headers\CacheControlHeaderValue.cs (9)
187
if (source.
_privateHeaders
!= null)
189
foreach (string privateHeader in source.
_privateHeaders
)
294
if ((
_privateHeaders
!= null) && (
_privateHeaders
.Count > 0))
297
AppendValues(sb,
_privateHeaders
);
315
HeaderUtilities.AreEqualCollections(
_privateHeaders
, other.
_privateHeaders
, StringComparer.OrdinalIgnoreCase) &&
326
(
_privateHeaders
is null ? 0 :
_privateHeaders
.GetHashCode(StringComparer.OrdinalIgnoreCase)),