3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
463
_count
++;
536
_count
= 0;
785
entries[--
_count
] = default;
26 references to _count
System.Collections (26)
System\Collections\Generic\OrderedDictionary.cs (26)
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)
535
Array.Clear(_entries, 0,
_count
);
552
int count =
_count
;
591
if ((uint)index >= (uint)
_count
)
720
if ((uint)index > (uint)
_count
)
767
int count =
_count
;
795
if ((uint)index >= (uint)
_count
)
814
if ((uint)index >= (uint)
_count
)
891
public void TrimExcess() => TrimExcess(
_count
);
1082
Debug.Assert(newSize >=
_count
, "The requested size must accomodate all of the current elements.");
1096
int count =
_count
;
1208
if (array.Length - arrayIndex <
_count
)
1213
for (int i = 0; i <
_count
; i++)
1295
if (array.Length - index <
_count
)
1435
if (_index < dictionary.
_count
)
1506
int count = dictionary.
_count
;
1695
int count = dictionary.
_count
;
1748
int count = _dictionary.
_count
;
1794
int count = _dictionary.
_count
;