1 write to _items
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ArrayBuilder.cs (1)
37_items = new List<T>();
18 references to _items
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (18)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ArrayBuilder.cs (18)
30builder._items.Capacity = size; 42get { return _items.Count; } 47_items.Add(item); 54_items.Add(item); 60_items.AddRange(items); 65return _items[_items.Count - 1]; 75var position = _items.Count - 1; 76var result = _items[position]; 77_items.RemoveAt(position); 83_items.Clear(); 88_items.Clear(); 94return _items.ToArray(); 106return (_items.Count > 0) ? new ReadOnlyCollection<T>(_items.ToArray()) : s_empty; 118get { return _items[i]; } 123_items.Sort(comparer); 128return _items.GetEnumerator();