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