5 writes to _headerStore
System.Net.Http (5)
System\Net\Http\Headers\HttpHeaders.cs (5)
570
_headerStore
= entries;
1464
_headerStore
= entries;
1484
_headerStore
= entries;
1495
_headerStore
= dictionary;
1547
_headerStore
= null;
14 references to _headerStore
System.Net.Http (14)
System\Net\Http\Headers\HttpHeaders.cs (14)
354
: ref CollectionsMarshal.GetValueRefOrNullRef((Dictionary<HeaderDescriptor, object>)
_headerStore
, entry.Key);
563
if (_count == 0 && sourceHeaders.
_headerStore
is HeaderEntry[] sourceEntries)
567
if (
_headerStore
is not HeaderEntry[] entries || entries.Length < _count)
1373
object? store =
_headerStore
;
1389
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1411
private bool EntriesAreLiveView =>
_headerStore
is HeaderEntry[];
1417
object? store =
_headerStore
;
1439
object? store =
_headerStore
;
1476
var entries = (HeaderEntry[])
_headerStore
!;
1493
var entries = (HeaderEntry[])
_headerStore
!;
1506
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1520
if (
_headerStore
is HeaderEntry[] entries)
1541
if (
_headerStore
is HeaderEntry[] entries)
1556
object? store =
_headerStore
;