2 types derived from MergedNamespaceOrTypeDeclaration
Microsoft.CodeAnalysis.CSharp (2)
Declarations\MergedNamespaceDeclaration.cs (1)
17
internal sealed class MergedNamespaceDeclaration :
MergedNamespaceOrTypeDeclaration
Declarations\MergedTypeDeclaration.cs (1)
21
internal sealed class MergedTypeDeclaration :
MergedNamespaceOrTypeDeclaration
17 references to MergedNamespaceOrTypeDeclaration
Microsoft.CodeAnalysis.CSharp (17)
Compilation\CSharpCompilation.cs (8)
4838
var spine = ArrayBuilder<
MergedNamespaceOrTypeDeclaration
>.GetInstance();
4848
ArrayBuilder<
MergedNamespaceOrTypeDeclaration
> spine,
MergedNamespaceOrTypeDeclaration
current,
4889
if (child is
MergedNamespaceOrTypeDeclaration
mergedNamespaceOrType)
4903
ArrayBuilder<
MergedNamespaceOrTypeDeclaration
> spine, MergedTypeDeclaration current, HashSet<Symbol> set)
4925
protected NamespaceOrTypeSymbol? GetSpineSymbol(ArrayBuilder<
MergedNamespaceOrTypeDeclaration
> spine)
4947
private NamespaceOrTypeSymbol? GetCachedSymbol(
MergedNamespaceOrTypeDeclaration
declaration)
4952
private NamespaceOrTypeSymbol? GetSymbol(NamespaceOrTypeSymbol? container,
MergedNamespaceOrTypeDeclaration
declaration)
Declarations\DeclarationTable.cs (3)
321
var stack = new Stack<
MergedNamespaceOrTypeDeclaration
>();
328
var
current = stack.Pop();
363
if (child is
MergedNamespaceOrTypeDeclaration
childNamespaceOrType)
Declarations\MergedNamespaceDeclaration.cs (5)
20
private ImmutableArray<
MergedNamespaceOrTypeDeclaration
> _lazyChildren;
89
private ImmutableArray<
MergedNamespaceOrTypeDeclaration
> MakeChildren()
141
var children = ArrayBuilder<
MergedNamespaceOrTypeDeclaration
>.GetInstance();
148
static void addNamespacesToChildren(ArrayBuilder<SingleNamespaceDeclaration> namespaces, bool allNamespacesHaveSameName, ArrayBuilder<
MergedNamespaceOrTypeDeclaration
> children)
181
static void addTypesToChildren(ArrayBuilder<SingleTypeDeclaration> types, bool allTypesHaveSameIdentity, ArrayBuilder<
MergedNamespaceOrTypeDeclaration
> children)
Symbols\Source\SourceNamespaceSymbol.cs (1)
400
private NamespaceOrTypeSymbol BuildSymbol(
MergedNamespaceOrTypeDeclaration
declaration, BindingDiagnosticBag diagnostics)