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)
183int i = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer); 231if (value < _size) 240if (_size > 0) 242Array.Copy(keys, newKeys, _size); 243Array.Copy(values, newValues, _size); 286return _size; 396Array.Clear(keys, 0, _size); 400Array.Clear(values, 0, _size); 526if (index < 0 || index >= _size) 539if (index < 0 || index >= _size) 563if (index < 0 || index >= _size) 584int i = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer); 642int ret = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer); 653return Array.IndexOf(values, value, 0, _size); 659if (_size == keys.Length) EnsureCapacity(_size + 1); 660if (index < _size) 662Array.Copy(keys, index, keys, index + 1, _size - index); 663Array.Copy(values, index, values, index + 1, _size - index); 688if (index < 0 || index >= _size) 691if (index < _size) 693Array.Copy(keys, index + 1, keys, index, _size - index); 694Array.Copy(values, index + 1, values, index, _size - index); 698keys[_size] = default(TKey)!; 702values[_size] = default(TValue)!; 737if (_size < threshold) 739Capacity = _size; 1013get { return _dict._size; } 1127get { return _dict._size; }