5 writes to _lastIndex
Microsoft.Build (5)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (5)
128_lastIndex = 0; 272_lastIndex = 0; 444_lastIndex = 0; 745_lastIndex = newIndex; 853_lastIndex++;
11 references to _lastIndex
Microsoft.Build (11)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (11)
264if (_lastIndex > 0) 270Array.Clear(_slots, 0, _lastIndex); 683for (int i = 0; i < _lastIndex && numCopied < count; i++) 728for (int i = 0; i < _lastIndex; i++) 791Array.Copy(_slots, 0, newSlots, 0, _lastIndex); 795for (int i = 0; i < _lastIndex; i++) 846if (_lastIndex == _slots.Length) 852index = _lastIndex; 977while (_index < _set._lastIndex) 987_index = _set._lastIndex + 1; 1004if (_index == 0 || _index == _set._lastIndex + 1)