1 write to _elements
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (1)
28_elements = new ArrayBuilder<T>();
9 references to _elements
Microsoft.CodeAnalysis.CodeStyle (9)
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (9)
36_elements!.Add(value); 59_elements!.Insert(index, value); 81_elements!.RemoveAt(_elements.IndexOf(value)); 85public int Count => _elements?.Count ?? 0; 90=> _elements is null ? SpecializedCollections.EmptyEnumerator<T>() : ((IEnumerable<T>)_elements).GetEnumerator(); 94public ImmutableArray<T> AsImmutable() => _elements.ToImmutableArrayOrEmpty(); 96public T this[int i] => _elements![i];