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