5 instantiations of ImmutableSetWithInsertionOrder
Microsoft.CodeAnalysis (5)
InternalUtilities\ImmutableSetWithInsertionOrder`1.cs (5)
15public static readonly ImmutableSetWithInsertionOrder<T> Empty = new ImmutableSetWithInsertionOrder<T>(ImmutableDictionary.Create<T, uint>(), 0u); 44return new ImmutableSetWithInsertionOrder<T>(_map.Add(value, _nextElementValue), _nextElementValue + 1u); 79return new ImmutableSetWithInsertionOrder<T>(builder.ToImmutable(), nextElementValue); 91return this.Count == 1 ? Empty : new ImmutableSetWithInsertionOrder<T>(modifiedMap, _nextElementValue); 119return new ImmutableSetWithInsertionOrder<T>(builder.ToImmutable(), _nextElementValue);
10 references to ImmutableSetWithInsertionOrder
Microsoft.CodeAnalysis (5)
InternalUtilities\ImmutableSetWithInsertionOrder`1.cs (5)
15public static readonly ImmutableSetWithInsertionOrder<T> Empty = new ImmutableSetWithInsertionOrder<T>(ImmutableDictionary.Create<T, uint>(), 0u); 36public ImmutableSetWithInsertionOrder<T> Add(T value) 47public ImmutableSetWithInsertionOrder<T> AddRange(List<T> values) 82public ImmutableSetWithInsertionOrder<T> Remove(T value) 94public ImmutableSetWithInsertionOrder<T> RemoveRange(List<T> values)
Microsoft.CodeAnalysis.CSharp (5)
Declarations\DeclarationTable.Builder.cs (2)
100var newOlderRootDeclarations = _table._allOlderRootDeclarations.AddRange(_addedLazyRootDeclarations); 138var newOlderRootDeclarations = _table._allOlderRootDeclarations.RemoveRange(_removedLazyRootDeclarations);
Declarations\DeclarationTable.cs (3)
26allOlderRootDeclarations: ImmutableSetWithInsertionOrder<Lazy<RootSingleNamespaceDeclaration>>.Empty, 32private readonly ImmutableSetWithInsertionOrder<Lazy<RootSingleNamespaceDeclaration>> _allOlderRootDeclarations; 46ImmutableSetWithInsertionOrder<Lazy<RootSingleNamespaceDeclaration>> allOlderRootDeclarations,