5 writes to _size
System.Collections (5)
System\Collections\Generic\SortedList.cs (5)
77
_size
= 0;
173
_size
= count;
402
_size
= 0;
667
_size
++;
690
_size
--;
29 references to _size
System.Collections (29)
System\Collections\Generic\SortedList.cs (29)
183
int i = Array.BinarySearch<TKey>(keys, 0,
_size
, key, comparer);
231
if (value <
_size
)
240
if (
_size
> 0)
242
Array.Copy(keys, newKeys,
_size
);
243
Array.Copy(values, newValues,
_size
);
286
return
_size
;
396
Array.Clear(keys, 0,
_size
);
400
Array.Clear(values, 0,
_size
);
526
if (index < 0 || index >=
_size
)
539
if (index < 0 || index >=
_size
)
563
if (index < 0 || index >=
_size
)
584
int i = Array.BinarySearch<TKey>(keys, 0,
_size
, key, comparer);
642
int ret = Array.BinarySearch<TKey>(keys, 0,
_size
, key, comparer);
653
return Array.IndexOf(values, value, 0,
_size
);
659
if (
_size
== keys.Length) EnsureCapacity(
_size
+ 1);
660
if (index <
_size
)
662
Array.Copy(keys, index, keys, index + 1,
_size
- index);
663
Array.Copy(values, index, values, index + 1,
_size
- index);
688
if (index < 0 || index >=
_size
)
691
if (index <
_size
)
693
Array.Copy(keys, index + 1, keys, index,
_size
- index);
694
Array.Copy(values, index + 1, values, index,
_size
- index);
698
keys[
_size
] = default(TKey)!;
702
values[
_size
] = default(TValue)!;
737
if (
_size
< threshold)
739
Capacity =
_size
;
1013
get { return _dict.
_size
; }
1127
get { return _dict.
_size
; }