4 writes to values
System.Collections (4)
System\Collections\Generic\SortedList.cs (4)
76
values
= Array.Empty<TValue>();
92
values
= new TValue[capacity];
246
values
= newValues;
251
values
= Array.Empty<TValue>();
27 references to values
System.Collections (27)
System\Collections\Generic\SortedList.cs (27)
157
dictionary.Values.CopyTo(
values
, 0);
162
Array.Sort<TKey, TValue>(keys,
values
, comparer);
197
if (index >= 0 && EqualityComparer<TValue>.Default.Equals(
values
[index], keyValuePair.Value))
207
if (index >= 0 && EqualityComparer<TValue>.Default.Equals(
values
[index], keyValuePair.Value))
243
Array.Copy(
values
, newValues, _size);
400
Array.Clear(
values
, 0, _size);
447
KeyValuePair<TKey, TValue> entry = new KeyValuePair<TKey, TValue>(keys[i],
values
[i]);
480
keyValuePairArray[i + index] = new KeyValuePair<TKey, TValue>(keys[i],
values
[i]);
495
objects[i + index] = new KeyValuePair<TKey, TValue>(keys[i],
values
[i]);
528
return
values
[index];
541
values
[index] = value;
576
return
values
[i];
587
values
[i] = value;
604
return
values
[i];
653
return Array.IndexOf(
values
, value, 0, _size);
663
Array.Copy(
values
, index,
values
, index + 1, _size - index);
666
values
[index] = value;
676
value =
values
[i];
694
Array.Copy(
values
, index + 1,
values
, index, _size - index);
702
values
[_size] = default(TValue)!;
799
_value = _sortedList.
values
[_index];
963
_currentValue = _sortedList.
values
[_index];
1163
Array.Copy(_dict.
values
, 0, array, arrayIndex, _dict.Count);
1174
Array.Copy(_dict.
values
, 0, array!, index, _dict.Count);
1207
return Array.IndexOf(_dict.
values
, value, 0, _dict.Count);