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)
30
builder.
_items
.Capacity = size;
42
get { return
_items
.Count; }
47
_items
.Add(item);
54
_items
.Add(item);
60
_items
.AddRange(items);
65
return
_items
[
_items
.Count - 1];
75
var position =
_items
.Count - 1;
76
var result =
_items
[position];
77
_items
.RemoveAt(position);
83
_items
.Clear();
88
_items
.Clear();
94
return
_items
.ToArray();
106
return (
_items
.Count > 0) ? new ReadOnlyCollection<T>(
_items
.ToArray()) : s_empty;
118
get { return
_items
[i]; }
123
_items
.Sort(comparer);
128
return
_items
.GetEnumerator();