4 writes to values
System.Collections.NonGeneric (4)
System\Collections\SortedList.cs (4)
83
values
= Array.Empty<object>();
100
values
= new object[initialCapacity];
214
values
= newValues;
221
values
= Array.Empty<object>();
22 references to values
System.Collections.NonGeneric (22)
System\Collections\SortedList.cs (22)
158
d.Values.CopyTo(
values
, 0);
165
values
[i] = d[keys[i]];
211
Array.Copy(
values
, newValues, _size);
287
Array.Clear(
values
, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
298
Array.Copy(
values
, sl.
values
, _size);
346
DictionaryEntry entry = new DictionaryEntry(keys[i],
values
[i]);
360
array[i] = new DebugViewDictionaryItem<object, object?>(keys[i],
values
[i]);
385
return
values
[index];
451
if (i >= 0) return
values
[i];
460
values
[i] = value;
491
return Array.IndexOf(
values
, value, 0, _size);
501
Array.Copy(
values
, index,
values
, index + 1, _size - index);
504
values
[index] = value;
519
Array.Copy(
values
, index + 1,
values
, index, _size - index);
522
values
[_size] = null;
543
values
[index] = value;
830
_value = _sortedList.
values
[_index];
1047
Array.Copy(sortedList.
values
, 0, array!, arrayIndex, sortedList.Count);
1074
return Array.IndexOf(sortedList.
values
, value, 0, sortedList.Count);