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
20 references to MergedNamespaceOrTypeDeclaration
Microsoft.CodeAnalysis.CSharp (20)
Compilation\CSharpCompilation.cs (8)
4887
var spine = ArrayBuilder<
MergedNamespaceOrTypeDeclaration
>.GetInstance();
4897
ArrayBuilder<
MergedNamespaceOrTypeDeclaration
> spine,
MergedNamespaceOrTypeDeclaration
current,
4938
if (child is
MergedNamespaceOrTypeDeclaration
mergedNamespaceOrType)
4952
ArrayBuilder<
MergedNamespaceOrTypeDeclaration
> spine, MergedTypeDeclaration current, HashSet<Symbol> set)
4974
protected NamespaceOrTypeSymbol? GetSpineSymbol(ArrayBuilder<
MergedNamespaceOrTypeDeclaration
> spine)
4996
private NamespaceOrTypeSymbol? GetCachedSymbol(
MergedNamespaceOrTypeDeclaration
declaration)
5001
private NamespaceOrTypeSymbol? GetSymbol(NamespaceOrTypeSymbol? container,
MergedNamespaceOrTypeDeclaration
declaration)
Declarations\DeclarationTable.cs (3)
322
var stack = new Stack<
MergedNamespaceOrTypeDeclaration
>();
329
var
current = stack.Pop();
364
if (child is
MergedNamespaceOrTypeDeclaration
childNamespaceOrType)
Declarations\MergedNamespaceDeclaration.cs (6)
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)
241
public new ImmutableArray<
MergedNamespaceOrTypeDeclaration
> Children
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (1)
38
MergedNamespaceOrTypeDeclaration
declaration;
Symbols\Source\SourceNamespaceSymbol.cs (2)
275
foreach (
var
declaration in _mergedDeclaration.Children)
401
private NamespaceOrTypeSymbol BuildSymbol(
MergedNamespaceOrTypeDeclaration
declaration, BindingDiagnosticBag diagnostics)