5 writes to _headerStore
System.Net.Http (5)
System\Net\Http\Headers\HttpHeaders.cs (5)
632
_headerStore
= entries;
1523
_headerStore
= entries;
1543
_headerStore
= entries;
1554
_headerStore
= dictionary;
1606
_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);
625
if (_count == 0 && sourceHeaders.
_headerStore
is HeaderEntry[] sourceEntries)
629
if (
_headerStore
is not HeaderEntry[] entries || entries.Length < _count)
1432
object? store =
_headerStore
;
1448
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1470
private bool EntriesAreLiveView =>
_headerStore
is HeaderEntry[];
1476
object? store =
_headerStore
;
1498
object? store =
_headerStore
;
1535
var entries = (HeaderEntry[])
_headerStore
!;
1552
var entries = (HeaderEntry[])
_headerStore
!;
1565
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1579
if (
_headerStore
is HeaderEntry[] entries)
1600
if (
_headerStore
is HeaderEntry[] entries)
1615
object? store =
_headerStore
;