5 writes to _headerStore
System.Net.Http (5)
System\Net\Http\Headers\HttpHeaders.cs (5)
577
_headerStore
= entries;
1471
_headerStore
= entries;
1491
_headerStore
= entries;
1502
_headerStore
= dictionary;
1554
_headerStore
= null;
15 references to _headerStore
System.Net.Http (15)
System\Net\Http\Headers\HttpHeaders.cs (15)
345
Debug.Assert(
_headerStore
is not null);
362
: ref CollectionsMarshal.GetValueRefOrNullRef((Dictionary<HeaderDescriptor, object>)
_headerStore
, entry.Key);
570
if (_count == 0 && sourceHeaders.
_headerStore
is HeaderEntry[] sourceEntries)
574
if (
_headerStore
is not HeaderEntry[] entries || entries.Length < _count)
1380
object? store =
_headerStore
;
1396
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1418
private bool EntriesAreLiveView =>
_headerStore
is HeaderEntry[];
1424
object? store =
_headerStore
;
1446
object? store =
_headerStore
;
1483
var entries = (HeaderEntry[])
_headerStore
!;
1500
var entries = (HeaderEntry[])
_headerStore
!;
1513
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1527
if (
_headerStore
is HeaderEntry[] entries)
1548
if (
_headerStore
is HeaderEntry[] entries)
1563
object? store =
_headerStore
;