3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
463
_count
++;
543
_count
= 0;
792
_count
--;
27 references to _count
System.Collections (27)
System\Collections\Generic\OrderedDictionary.cs (27)
237
public int Count =>
_count
;
401
Debug.Assert(0 <= keyIndex && keyIndex <
_count
);
427
index =
_count
;
429
Debug.Assert(index <=
_count
);
442
if (entries.Length ==
_count
)
451
for (i =
_count
- 1; i >= index; --i)
469
Debug.Assert(0 <= keyIndex && keyIndex <
_count
);
530
if (_buckets is not null &&
_count
!= 0)
541
Array.Clear(_entries, 0,
_count
);
559
int count =
_count
;
598
if ((uint)index >= (uint)
_count
)
727
if ((uint)index > (uint)
_count
)
774
int count =
_count
;
797
entries[
_count
] = default;
808
if ((uint)index >= (uint)
_count
)
827
if ((uint)index >= (uint)
_count
)
904
public void TrimExcess() => TrimExcess(
_count
);
1095
Debug.Assert(newSize >=
_count
, "The requested size must accommodate all of the current elements.");
1109
int count =
_count
;
1221
if (array.Length - arrayIndex <
_count
)
1226
for (int i = 0; i <
_count
; i++)
1309
if (array.Length - index <
_count
)
1449
if (_index < dictionary.
_count
)
1520
int count = dictionary.
_count
;
1709
int count = dictionary.
_count
;
1762
int count = _dictionary.
_count
;
1808
int count = _dictionary.
_count
;