3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
469
_count
++;
542
_count
= 0;
787
entries[--
_count
] = default;
26 references to _count
System.Collections (26)
System\Collections\Generic\OrderedDictionary.cs (26)
243
public int Count =>
_count
;
407
Debug.Assert(0 <= keyIndex && keyIndex <
_count
);
433
index =
_count
;
435
Debug.Assert(index <=
_count
);
448
if (entries.Length ==
_count
)
457
for (i =
_count
- 1; i >= index; --i)
475
Debug.Assert(0 <= keyIndex && keyIndex <
_count
);
536
if (_buckets is not null &&
_count
!= 0)
541
Array.Clear(_entries, 0,
_count
);
557
int count =
_count
;
596
if ((uint)index >= (uint)
_count
)
725
if ((uint)index > (uint)
_count
)
769
int count =
_count
;
796
if ((uint)index >= (uint)
_count
)
813
if ((uint)index >= (uint)
_count
)
890
public void TrimExcess() => TrimExcess(
_count
);
1079
Debug.Assert(newSize >=
_count
, "The requested size must accomodate all of the current elements.");
1093
int count =
_count
;
1205
if (array.Length - arrayIndex <
_count
)
1210
for (int i = 0; i <
_count
; i++)
1292
if (array.Length - index <
_count
)
1432
if (_index < dictionary.
_count
)
1503
int count = dictionary.
_count
;
1692
int count = dictionary.
_count
;
1745
int count = _dictionary.
_count
;
1791
int count = _dictionary.
_count
;