2 instantiations of UnionCollection
Microsoft.CodeAnalysis (2)
Collections\UnionCollection.cs (2)
45
return new
UnionCollection
<T>(ImmutableArray.Create(coll1, coll2));
61
return new
UnionCollection
<T>(ImmutableArray.CreateRange(collections, selector));
12 references to UnionCollection
Microsoft.CodeAnalysis.CSharp (6)
Declarations\DeclarationTable.cs (3)
168
return
UnionCollection
<string>.Create(cachedTypeNames, GetTypeNames(_latestLazyRootDeclaration.Value));
182
return
UnionCollection
<string>.Create(cachedNamespaceNames, GetNamespaceNames(_latestLazyRootDeclaration.Value));
196
return
UnionCollection
<ReferenceDirective>.Create(cachedReferenceDirectives, _latestLazyRootDeclaration.Value.ReferenceDirectives);
Declarations\MergedTypeDeclaration.cs (1)
239
var names =
UnionCollection
<string>.Create(this.Declarations, d => d.MemberNames.Keys);
Symbols\MetadataOrSourceAssemblySymbol.cs (2)
126
Interlocked.CompareExchange(ref _lazyTypeNames,
UnionCollection
<string>.Create(this.Modules, m => m.TypeNames), null);
163
Interlocked.CompareExchange(ref _lazyNamespaceNames,
UnionCollection
<string>.Create(this.Modules, m => m.NamespaceNames), null);
Microsoft.CodeAnalysis.VisualBasic (6)
Declarations\DeclarationTable.vb (3)
202
Return
UnionCollection
(Of String).Create(cachedTypeNames, GetTypeNames(latestRoot))
212
Return
UnionCollection
(Of String).Create(cachedNamespaceNames, GetNamespaceNames(latestRoot))
222
Return
UnionCollection
(Of ReferenceDirective).Create(cachedReferenceDirectives, latestRoot.ReferenceDirectives)
Declarations\MergedTypeDeclaration.vb (1)
178
Dim names =
UnionCollection
(Of String).Create(Me.Declarations, Function(d) d.MemberNames)
Symbols\MetadataOrSourceAssemblySymbol.vb (2)
107
Interlocked.CompareExchange(_lazyTypeNames,
UnionCollection
(Of String).Create(Me.Modules, Function(m) m.TypeNames), Nothing)
117
Interlocked.CompareExchange(_lazyNamespaceNames,
UnionCollection
(Of String).Create(Me.Modules, Function(m) m.NamespaceNames), Nothing)