5 writes to _headerStore
System.Net.Http (5)
System\Net\Http\Headers\HttpHeaders.cs (5)
653
_headerStore
= entries;
1544
_headerStore
= entries;
1563
_headerStore
= entries;
1574
_headerStore
= dictionary;
1626
_headerStore
= null;
15 references to _headerStore
System.Net.Http (15)
System\Net\Http\Headers\HttpHeaders.cs (15)
394
Debug.Assert(
_headerStore
is not null);
419
: ref CollectionsMarshal.GetValueRefOrNullRef((Dictionary<HeaderDescriptor, object>)
_headerStore
, entry.Key);
646
if (_count == 0 && sourceHeaders.
_headerStore
is HeaderEntry[] sourceEntries)
650
if (
_headerStore
is not HeaderEntry[] entries || entries.Length < _count)
1453
object? store =
_headerStore
;
1469
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1491
private bool EntriesAreLiveView =>
_headerStore
is HeaderEntry[];
1497
object? store =
_headerStore
;
1519
object? store =
_headerStore
;
1555
var entries = (HeaderEntry[])
_headerStore
!;
1572
var entries = (HeaderEntry[])
_headerStore
!;
1585
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1599
if (
_headerStore
is HeaderEntry[] entries)
1620
if (
_headerStore
is HeaderEntry[] entries)
1635
object? store =
_headerStore
;