3 writes to _count
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (3)
465
_count
++;
527
_count
= 0;
772
entries[--
_count
] = default;
24 references to _count
System.Collections (24)
System\Collections\Generic\OrderedDictionary.cs (24)
243
public int Count =>
_count
;
429
index =
_count
;
431
Debug.Assert(index <=
_count
);
444
if (entries.Length ==
_count
)
453
for (i =
_count
- 1; i >= index; --i)
521
if (_buckets is not null &&
_count
!= 0)
526
Array.Clear(_entries, 0,
_count
);
542
int count =
_count
;
581
if ((uint)index >= (uint)
_count
)
710
if ((uint)index > (uint)
_count
)
754
int count =
_count
;
781
if ((uint)index >= (uint)
_count
)
798
if ((uint)index >= (uint)
_count
)
875
public void TrimExcess() => TrimExcess(
_count
);
1054
Debug.Assert(newSize >=
_count
, "The requested size must accomodate all of the current elements.");
1068
int count =
_count
;
1180
if (array.Length - arrayIndex <
_count
)
1185
for (int i = 0; i <
_count
; i++)
1267
if (array.Length - index <
_count
)
1407
if (_index < dictionary.
_count
)
1478
int count = dictionary.
_count
;
1667
int count = dictionary.
_count
;
1720
int count = _dictionary.
_count
;
1766
int count = _dictionary.
_count
;