5 writes to _lastIndex
Microsoft.Build (5)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (5)
125_lastIndex = 0; 269_lastIndex = 0; 441_lastIndex = 0; 742_lastIndex = newIndex; 850_lastIndex++;
11 references to _lastIndex
Microsoft.Build (11)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (11)
261if (_lastIndex > 0) 267Array.Clear(_slots, 0, _lastIndex); 680for (int i = 0; i < _lastIndex && numCopied < count; i++) 725for (int i = 0; i < _lastIndex; i++) 788Array.Copy(_slots, 0, newSlots, 0, _lastIndex); 792for (int i = 0; i < _lastIndex; i++) 843if (_lastIndex == _slots.Length) 849index = _lastIndex; 974while (_index < _set._lastIndex) 984_index = _set._lastIndex + 1; 1001if (_index == 0 || _index == _set._lastIndex + 1)