5 writes to _count
System.Private.CoreLib (5)
src\runtime\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;
1746
_count
= newCount;
33 references to _count
System.Private.CoreLib (33)
src\runtime\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);
1258
int count =
_count
;
1606
for (int i = 0; i <
_count
; i++)
1624
int count =
_count
;
1723
CopyEntries(oldEntries,
_count
);
1913
while ((uint)_index < (uint)_dictionary.
_count
)
1924
_index = _dictionary.
_count
+ 1;
1937
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1966
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1979
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
1992
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
2037
int count = _dictionary.
_count
;
2109
int count = _dictionary.
_count
;
2153
while ((uint)_index < (uint)_dictionary.
_count
)
2164
_index = _dictionary.
_count
+ 1;
2175
if (_index == 0 || (_index == _dictionary.
_count
+ 1))
2232
int count = _dictionary.
_count
;
2303
int count = _dictionary.
_count
;
2347
while ((uint)_index < (uint)_dictionary.
_count
)
2357
_index = _dictionary.
_count
+ 1;
2368
if (_index == 0 || (_index == _dictionary.
_count
+ 1))