1 write to _array
System.Threading.RateLimiting (1)
src\runtime\src\libraries\Common\src\System\Collections\Generic\Deque.cs (1)
135_array = newArray;
23 references to _array
System.Threading.RateLimiting (23)
src\runtime\src\libraries\Common\src\System\Collections\Generic\Deque.cs (23)
24if (_size == _array.Length) 29_array[_tail] = item; 30if (++_tail == _array.Length) 54T item = _array[_head]; 55_array[_head] = default!; 57if (++_head == _array.Length) 69return _array[_head]; 78index = _array.Length - 1; 80return _array[index]; 89_tail = _array.Length - 1; 92T item = _array[_tail]; 93_array[_tail] = default!; 105yield return _array[pos]; 106pos = (pos + 1) % _array.Length; 112Debug.Assert(_size == _array.Length); 117int capacity = (int)(_array.Length * 2L); 118if (capacity < _array.Length + MinimumGrow) 120capacity = _array.Length + MinimumGrow; 127Array.Copy(_array, newArray, _size); 131Array.Copy(_array, _head, newArray, 0, _array.Length - _head); 132Array.Copy(_array, 0, newArray, _array.Length - _head, _tail);