3 writes to _count
Microsoft.CodeAnalysis.Workspaces (3)
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
304
_count
= 0;
627
_count
= count + 1;
1035
_count
= newCount;
31 references to _count
Microsoft.CodeAnalysis.Workspaces (31)
src\Dependencies\Collections\SegmentedDictionary`2.cs (31)
167
Debug.Assert(
_count
== 0);
173
CopyEntries(oldEntries, source.
_count
);
178
var count = source.
_count
;
228
public int Count =>
_count
- _freeCount;
296
var count =
_count
;
319
for (var i = 0; i <
_count
; i++)
330
for (var i = 0; i <
_count
; i++)
344
for (var i = 0; i <
_count
; i++)
373
var count =
_count
;
620
var count =
_count
;
642
=> Resize(HashHelpers.ExpandPrime(
_count
));
649
var count =
_count
;
907
for (var i = 0; i <
_count
; i++)
925
var count =
_count
;
1010
var oldCount =
_count
;
1199
while ((uint)_index < (uint)_dictionary.
_count
)
1210
_index = _dictionary.
_count
+ 1;
1225
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1254
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1267
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1280
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1328
var count = _dictionary.
_count
;
1407
var count = _dictionary.
_count
;
1454
while ((uint)_index < (uint)_dictionary.
_count
)
1465
_index = _dictionary.
_count
+ 1;
1476
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1536
var count = _dictionary.
_count
;
1615
var count = _dictionary.
_count
;
1662
while ((uint)_index < (uint)_dictionary.
_count
)
1672
_index = _dictionary.
_count
+ 1;
1683
if (_index == 0 || (_index == _dictionary.
_count
+ 1))