7 writes to _items
System.Linq.Expressions (7)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (7)
28_items = Array.Empty<T>(); 41_items = new T[capacity]; 55_items = new T[count]; 62_items = new T[DefaultCapacity]; 93_items = newItems; 97_items = Array.Empty<T>(); 423_items = Array.Empty<T>();
27 references to _items
System.Linq.Expressions (27)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (27)
56c.CopyTo(_items, 0); 79get { return _items.Length; } 84if (value != _items.Length) 91Array.Copy(_items, newItems, _size); 117return Array.IndexOf(_items, item, 0, _size); 129if (_size == _items.Length) 135Array.Copy(_items, index, _items, index + 1, _size - index); 137_items[index] = item; 154Array.Copy(_items, index + 1, _items, index, _size - index); 156_items[_size] = default(T)!; 171return _items[index]; 177_items[index] = value; 192if (_size == _items.Length) 196_items[_size++] = item; 207Array.Clear(_items, 0, _size); 226public void CopyTo(T[] array, int arrayIndex) => Array.Copy(_items, 0, array, arrayIndex, _size); 358Array.Copy(_items, 0, array, index, _size); 385Array.Reverse(_items, index, count); 396Array.Copy(_items, array, _size); 415if (_size == _items.Length) 417items = _items; 432if (_items.Length < min) 435if (_items.Length > 0) 437newCapacity = _items.Length * 2; 510_current = _builder._items[_index++];