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