5 writes to _count
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (5)
290
_count
= 0;
616
_count
= count + 1;
1026
dictionary.
_count
= count + 1;
1163
dictionary.
_count
= count + 1;
1628
_count
= newCount;
33 references to _count
System.Private.CoreLib (33)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (33)
132
Debug.Assert(
_count
== 0);
138
CopyEntries(oldEntries, source.
_count
);
143
int count = source.
_count
;
209
public int Count =>
_count
- _freeCount;
282
int count =
_count
;
305
for (int i = 0; i <
_count
; i++)
316
for (int i = 0; i <
_count
; i++)
330
for (int i = 0; i <
_count
; i++)
359
int count =
_count
;
609
int count =
_count
;
1019
int count = dictionary.
_count
;
1156
int count = dictionary.
_count
;
1246
private void Resize() => Resize(HashHelpers.ExpandPrime(
_count
), false);
1257
int count =
_count
;
1497
for (int i = 0; i <
_count
; i++)
1515
int count =
_count
;
1599
int oldCount =
_count
;
1795
while ((uint)_index < (uint)_dictionary.
_count
)
1806
_index = _dictionary.
_count
+ 1;
1819
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1848
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1861
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1874
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1919
int count = _dictionary.
_count
;
1991
int count = _dictionary.
_count
;
2035
while ((uint)_index < (uint)_dictionary.
_count
)
2046
_index = _dictionary.
_count
+ 1;
2057
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
2114
int count = _dictionary.
_count
;
2185
int count = _dictionary.
_count
;
2229
while ((uint)_index < (uint)_dictionary.
_count
)
2239
_index = _dictionary.
_count
+ 1;
2250
if (_index == 0 || (_index == _dictionary.
_count
+ 1))