4 writes to _count
Microsoft.Build (4)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (4)
126_count = 0; 270_count = 0; 437_count--; 856_count++;
14 references to _count
Microsoft.Build (14)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (14)
181if ((_count == 0 && _slots.Length > HashHelpers.GetMinPrime()) || 182(_count > 0 && _slots.Length / _count > ShrinkThreshold)) 204var keys = new string[_count]; 385CopyTo(array, arrayIndex, _count); 439if (_count == 0) 461get { return _count; } 526T[] array = new T[_count]; 648public void CopyTo(T[] array) { CopyTo(array, 0, _count); } 703Debug.Assert(_count >= 0, "m_count is negative"); 705if (_count == 0) 718int newSize = HashHelpers.GetPrime(_count); 778int newSize = HashHelpers.ExpandPrime(_count); 779if (newSize <= _count)