3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
468
_count
++;
541
_count
= 0;
790
entries[--
_count
] = default;
26 references to _count
System.Collections (26)
System\Collections\Generic\OrderedDictionary.cs (26)
242
public int Count =>
_count
;
406
Debug.Assert(0 <= keyIndex && keyIndex <
_count
);
432
index =
_count
;
434
Debug.Assert(index <=
_count
);
447
if (entries.Length ==
_count
)
456
for (i =
_count
- 1; i >= index; --i)
474
Debug.Assert(0 <= keyIndex && keyIndex <
_count
);
535
if (_buckets is not null &&
_count
!= 0)
540
Array.Clear(_entries, 0,
_count
);
557
int count =
_count
;
596
if ((uint)index >= (uint)
_count
)
725
if ((uint)index > (uint)
_count
)
772
int count =
_count
;
800
if ((uint)index >= (uint)
_count
)
819
if ((uint)index >= (uint)
_count
)
896
public void TrimExcess() => TrimExcess(
_count
);
1087
Debug.Assert(newSize >=
_count
, "The requested size must accomodate all of the current elements.");
1101
int count =
_count
;
1213
if (array.Length - arrayIndex <
_count
)
1218
for (int i = 0; i <
_count
; i++)
1300
if (array.Length - index <
_count
)
1440
if (_index < dictionary.
_count
)
1511
int count = dictionary.
_count
;
1700
int count = dictionary.
_count
;
1753
int count = _dictionary.
_count
;
1799
int count = _dictionary.
_count
;