4 writes to _count
Microsoft.CodeAnalysis.CodeStyle (4)
SegmentedHashSet`1.cs (4)
154
_count
= source._count;
191
_count
= 0;
941
_count
= capacity;
1083
_count
= count + 1;
21 references to _count
Microsoft.CodeAnalysis.CodeStyle (21)
SegmentedHashSet`1.cs (21)
114
if (
_count
> 0 && _entries.Length /
_count
> ShrinkThreshold)
154
_count = source.
_count
;
162
for (var i = 0; i < source.
_count
; i++)
184
var count =
_count
;
358
public int Count =>
_count
- _freeCount;
802
for (var i = 0; i <
_count
&& count != 0; i++)
823
for (var i = 0; i <
_count
; i++)
877
private void Resize() => Resize(HashHelpers.ExpandPrime(
_count
));
886
var count =
_count
;
922
var oldCount =
_count
;
1076
var count =
_count
;
1148
for (var i = 0; i <
_count
; i++)
1174
var originalCount =
_count
;
1242
var originalCount =
_count
;
1315
if (
_count
== 0)
1327
Debug.Assert((_buckets.Length > 0) && (
_count
> 0), "_buckets was empty but count greater than 0");
1329
var originalCount =
_count
;
1410
while ((uint)_index < (uint)_hashSet.
_count
)
1420
_index = _hashSet.
_count
+ 1;
1433
if (_index == 0 || (_index == _hashSet.
_count
+ 1))