4 writes to _count
Microsoft.Build (4)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (4)
129_count = 0; 273_count = 0; 440_count--; 859_count++;
14 references to _count
Microsoft.Build (14)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (14)
184if ((_count == 0 && _slots.Length > HashHelpers.GetMinPrime()) || 185(_count > 0 && _slots.Length / _count > ShrinkThreshold)) 207var keys = new string[_count]; 388CopyTo(array, arrayIndex, _count); 442if (_count == 0) 464get { return _count; } 529T[] array = new T[_count]; 651public void CopyTo(T[] array) { CopyTo(array, 0, _count); } 706Debug.Assert(_count >= 0, "m_count is negative"); 708if (_count == 0) 721int newSize = HashHelpers.GetPrime(_count); 781int newSize = HashHelpers.ExpandPrime(_count); 782if (newSize <= _count)