1 write to _elements
Microsoft.CodeAnalysis.CodeStyle (1)
SetWithInsertionOrder.cs (1)
27
_elements
= new ArrayBuilder<T>();
9 references to _elements
Microsoft.CodeAnalysis.CodeStyle (9)
SetWithInsertionOrder.cs (9)
35
_elements
!.Add(value);
58
_elements
!.Insert(index, value);
80
_elements
!.RemoveAt(
_elements
.IndexOf(value));
84
public int Count =>
_elements
?.Count ?? 0;
89
=>
_elements
is null ? SpecializedCollections.EmptyEnumerator<T>() : ((IEnumerable<T>)
_elements
).GetEnumerator();
93
public ImmutableArray<T> AsImmutable() =>
_elements
.ToImmutableArrayOrEmpty();
95
public T this[int i] =>
_elements
![i];