5 writes to _count
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (5)
167_count = source._count; 206_count = 0; 514set._count = count + 1; 1375_count = count; 1496_count = count + 1;
22 references to _count
System.Private.CoreLib (22)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (22)
114if (_count > 0 && _entries!.Length / _count > ShrinkThreshold) 167_count = source._count; 177for (int i = 0; i < source._count; i++) 199int count = _count; 357public int Count => _count - _freeCount; 507int count = set._count; 1196for (int i = 0; i < _count && count != 0; i++) 1217for (int i = 0; i < _count; i++) 1284private void Resize() => Resize(HashHelpers.ExpandPrime(_count), forceNewHashCodes: false); 1295int count = _count; 1356int oldCount = _count; 1489int count = _count; 1553for (int i = 0; i < _count; i++) 1579int originalCount = _count; 1647int originalCount = _count; 1721if (_count == 0) 1733Debug.Assert((_buckets != null) && (_count > 0), "_buckets was null but count greater than 0"); 1735int originalCount = _count; 1822while ((uint)_index < (uint)_hashSet._count) 1832_index = _hashSet._count + 1; 1845if (_index == 0 || (_index == _hashSet._count + 1))