5 writes to _size
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (5)
51_array = EnumerableHelpers.ToArray(collection, out _size); 85_size = 0; 176_size++; 210_size--; 232_size--;
30 references to _size
System.Private.CoreLib (30)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (30)
52if (_size != _array.Length) _tail = _size; 55public int Count => _size; 70if (_size != 0) 76Array.Clear(_array, _head, _size); 104if (array.Length - arrayIndex < _size) 109int numToCopy = _size; 141if (arrayLen - index < _size) 146int numToCopy = _size; 169if (_size == _array.Length) 171Grow(_size + 1); 199if (_size == 0) 220if (_size == 0) 242if (_size == 0) 252if (_size == 0) 266if (_size == 0) 273return Array.IndexOf(_array, item, _head, _size) >= 0; 288if (_size == 0) 293T[] arr = new T[_size]; 297Array.Copy(_array, _head, arr, 0, _size); 312Debug.Assert(capacity >= _size); 314if (_size > 0) 318Array.Copy(_array, _head, newarray, 0, _size); 329_tail = (_size == capacity) ? 0 : _size; 349Debug.Assert(_size == 0); 356if (_size < threshold) 358SetCapacity(_size); 370ArgumentOutOfRangeException.ThrowIfLessThan(capacity, _size); 452if (_index == _q._size)