3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
469
_count
++;
542
_count
= 0;
791
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
);
558
int count =
_count
;
597
if ((uint)index >= (uint)
_count
)
726
if ((uint)index > (uint)
_count
)
773
int count =
_count
;
801
if ((uint)index >= (uint)
_count
)
820
if ((uint)index >= (uint)
_count
)
897
public void TrimExcess() => TrimExcess(
_count
);
1088
Debug.Assert(newSize >=
_count
, "The requested size must accomodate all of the current elements.");
1102
int count =
_count
;
1214
if (array.Length - arrayIndex <
_count
)
1219
for (int i = 0; i <
_count
; i++)
1301
if (array.Length - index <
_count
)
1441
if (_index < dictionary.
_count
)
1512
int count = dictionary.
_count
;
1701
int count = dictionary.
_count
;
1754
int count = _dictionary.
_count
;
1800
int count = _dictionary.
_count
;