5 writes to _headerStore
System.Net.Http (5)
System\Net\Http\Headers\HttpHeaders.cs (5)
569
_headerStore
= entries;
1463
_headerStore
= entries;
1483
_headerStore
= entries;
1494
_headerStore
= dictionary;
1546
_headerStore
= null;
15 references to _headerStore
System.Net.Http (15)
System\Net\Http\Headers\HttpHeaders.cs (15)
337
Debug.Assert(
_headerStore
is not null);
354
: ref CollectionsMarshal.GetValueRefOrNullRef((Dictionary<HeaderDescriptor, object>)
_headerStore
, entry.Key);
562
if (_count == 0 && sourceHeaders.
_headerStore
is HeaderEntry[] sourceEntries)
566
if (
_headerStore
is not HeaderEntry[] entries || entries.Length < _count)
1372
object? store =
_headerStore
;
1388
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1410
private bool EntriesAreLiveView =>
_headerStore
is HeaderEntry[];
1416
object? store =
_headerStore
;
1438
object? store =
_headerStore
;
1475
var entries = (HeaderEntry[])
_headerStore
!;
1492
var entries = (HeaderEntry[])
_headerStore
!;
1505
var dictionary = (Dictionary<HeaderDescriptor, object>)
_headerStore
!;
1519
if (
_headerStore
is HeaderEntry[] entries)
1540
if (
_headerStore
is HeaderEntry[] entries)
1555
object? store =
_headerStore
;