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;
514
set.
_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)
114
if (
_count
> 0 && _entries!.Length /
_count
> ShrinkThreshold)
167
_count = source.
_count
;
177
for (int i = 0; i < source.
_count
; i++)
199
int count =
_count
;
357
public int Count =>
_count
- _freeCount;
507
int count = set.
_count
;
1196
for (int i = 0; i <
_count
&& count != 0; i++)
1217
for (int i = 0; i <
_count
; i++)
1284
private void Resize() => Resize(HashHelpers.ExpandPrime(
_count
), forceNewHashCodes: false);
1295
int count =
_count
;
1356
int oldCount =
_count
;
1489
int count =
_count
;
1553
for (int i = 0; i <
_count
; i++)
1579
int originalCount =
_count
;
1647
int originalCount =
_count
;
1721
if (
_count
== 0)
1733
Debug.Assert((_buckets != null) && (
_count
> 0), "_buckets was null but count greater than 0");
1735
int originalCount =
_count
;
1822
while ((uint)_index < (uint)_hashSet.
_count
)
1832
_index = _hashSet.
_count
+ 1;
1845
if (_index == 0 || (_index == _hashSet.
_count
+ 1))