5 writes to _count
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (5)
167_count = source._count; 197_count = 0; 505set._count = count + 1; 1352_count = newCount; 1515_count = count + 1;
22 references to _count
System.Private.CoreLib (22)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (22)
114if (_count > 0 && _entries!.Length / _count > ShrinkThreshold) 167_count = source._count; 175CopyEntries(source._entries!, source._count); 190int count = _count; 348public int Count => _count - _freeCount; 498int count = set._count; 1195for (int i = 0; i < _count && count != 0; i++) 1216for (int i = 0; i < _count; i++) 1283private void Resize() => Resize(HashHelpers.ExpandPrime(_count), forceNewHashCodes: false); 1295int count = _count; 1395CopyEntries(oldEntries, _count); 1508int count = _count; 1572for (int i = 0; i < _count; i++) 1598int originalCount = _count; 1666int originalCount = _count; 1740if (_count == 0) 1752Debug.Assert((_buckets != null) && (_count > 0), "_buckets was null but count greater than 0"); 1754int originalCount = _count; 1841while ((uint)_index < (uint)_hashSet._count) 1851_index = _hashSet._count + 1; 1864if (_index == 0 || (_index == _hashSet._count + 1))