2 writes to _entries
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Dependencies\Collections\SegmentedDictionary`2.cs (2)
500
_entries
= entries;
667
_entries
= entries;
30 references to _entries
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (30)
src\Dependencies\Collections\SegmentedDictionary`2.cs (30)
166
Debug.Assert(
_entries
.Length >= source.Count);
169
var oldEntries = source.
_entries
;
300
Debug.Assert(
_entries
.Length > 0, "_entries should be non-empty");
307
SegmentedArray.Clear(
_entries
, 0, count);
316
var entries =
_entries
;
374
var entries =
_entries
;
406
Debug.Assert(
_entries
.Length > 0, "expected entries to be non-empty");
414
var entries =
_entries
;
448
var entries =
_entries
;
518
var entries =
_entries
;
628
entries =
_entries
;
646
Debug.Assert(
_entries
.Length > 0, "_entries should be non-empty");
647
Debug.Assert(newSize >=
_entries
.Length);
652
var entries = CreateNewSegmentedArrayReusingOldSegments(
_entries
, newSize);
705
Debug.Assert(
_entries
.Length > 0, "entries should be non-empty");
713
var entries =
_entries
;
782
Debug.Assert(
_entries
.Length > 0, "entries should be non-empty");
790
var entries =
_entries
;
906
var entries =
_entries
;
926
var entries =
_entries
;
955
var currentCapacity =
_entries
.Length;
1003
var oldEntries =
_entries
;
1019
var newEntries =
_entries
;
1201
ref var entry = ref _dictionary.
_entries
[_index++];
1329
var entries = _dictionary.
_entries
;
1408
var entries = _dictionary.
_entries
;
1456
ref var entry = ref _dictionary.
_entries
[_index++];
1537
var entries = _dictionary.
_entries
;
1616
var entries = _dictionary.
_entries
;
1664
ref var entry = ref _dictionary.
_entries
[_index++];