5 writes to _headerStore
System.Net.Http (5)
System\Net\Http\Headers\HttpHeaders.cs (5)
649
_headerStore
= entries;
1540
_headerStore
= entries;
1559
_headerStore
= entries;
1570
_headerStore
= dictionary;
1622
_headerStore
= null;
15 references to _headerStore
System.Net.Http (15)
System\Net\Http\Headers\HttpHeaders.cs (15)
392
Debug.Assert(
_headerStore
is not null);
417
: ref CollectionsMarshal.GetValueRefOrNullRef((Dictionary<HeaderDescriptor, object>)
_headerStore
, entry.Key);
642
if (_count == 0 && sourceHeaders.
_headerStore
is HeaderEntry[] sourceEntries)
646
if (
_headerStore
is not HeaderEntry[] entries || entries.Length < _count)
1449
object? store =
_headerStore
;
1465
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1487
private bool EntriesAreLiveView =>
_headerStore
is HeaderEntry[];
1493
object? store =
_headerStore
;
1515
object? store =
_headerStore
;
1551
var entries = (HeaderEntry[])
_headerStore
!;
1568
var entries = (HeaderEntry[])
_headerStore
!;
1581
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1595
if (
_headerStore
is HeaderEntry[] entries)
1616
if (
_headerStore
is HeaderEntry[] entries)
1631
object? store =
_headerStore
;