2 instantiations of UnionCollection
Microsoft.CodeAnalysis (2)
Collections\UnionCollection.cs (2)
46return new UnionCollection<T>(ImmutableArray.Create(coll1, coll2)); 62return new UnionCollection<T>(ImmutableArray.CreateRange(collections, selector));
6 references to UnionCollection
Microsoft.CodeAnalysis.CSharp (6)
Declarations\DeclarationTable.cs (3)
169return UnionCollection<string>.Create(cachedTypeNames, GetTypeNames(_latestLazyRootDeclaration.Value)); 183return UnionCollection<string>.Create(cachedNamespaceNames, GetNamespaceNames(_latestLazyRootDeclaration.Value)); 197return UnionCollection<ReferenceDirective>.Create(cachedReferenceDirectives, _latestLazyRootDeclaration.Value.ReferenceDirectives);
Declarations\MergedTypeDeclaration.cs (1)
262var names = UnionCollection<string>.Create(this.Declarations, d => d.MemberNames.Value);
Symbols\MetadataOrSourceAssemblySymbol.cs (2)
128Interlocked.CompareExchange(ref _lazyTypeNames, UnionCollection<string>.Create(this.Modules, m => m.TypeNames), null); 165Interlocked.CompareExchange(ref _lazyNamespaceNames, UnionCollection<string>.Create(this.Modules, m => m.NamespaceNames), null);