2 instantiations of RootSingleNamespaceDeclaration
Microsoft.CodeAnalysis.VisualBasic (2)
Declarations\DeclarationTreeBuilder.vb (2)
209Return New RootSingleNamespaceDeclaration( 224Return New RootSingleNamespaceDeclaration(
18 references to RootSingleNamespaceDeclaration
Microsoft.CodeAnalysis.VisualBasic (16)
Compilation\VisualBasicCompilation.vb (4)
133Public Sub New(treeOpt As Func(Of SyntaxTree), rootNamespaceOpt As Func(Of RootSingleNamespaceDeclaration)) 135Me.DeclarationEntry = New DeclarationTableEntry(New Lazy(Of RootSingleNamespaceDeclaration)(rootNamespaceOpt), isEmbedded:=True) 984Dim entry = New DeclarationTableEntry(New Lazy(Of RootSingleNamespaceDeclaration)(Function() ForTree(tree, compilationOptions, isSubmission)), isEmbedded:=False) 990Private Shared Function ForTree(tree As SyntaxTree, options As VisualBasicCompilationOptions, isSubmission As Boolean) As RootSingleNamespaceDeclaration
Declarations\DeclarationTable.vb (9)
18Public ReadOnly Root As Lazy(Of RootSingleNamespaceDeclaration) 21Public Sub New(root As Lazy(Of RootSingleNamespaceDeclaration), isEmbedded As Boolean) 56Private _lazyAllRootDeclarations As ImmutableArray(Of RootSingleNamespaceDeclaration) 102Public Function AllRootNamespaces() As ImmutableArray(Of RootSingleNamespaceDeclaration) 104Dim builder = ArrayBuilder(Of RootSingleNamespaceDeclaration).GetInstance() 116Private Sub GetOlderNamespaces(builder As ArrayBuilder(Of RootSingleNamespaceDeclaration)) 126Dim builder = ArrayBuilder(Of RootSingleNamespaceDeclaration).GetInstance() 133Private Function SelectManyFromOlderDeclarationsNoEmbedded(Of T)(selector As Func(Of RootSingleNamespaceDeclaration, ImmutableArray(Of T))) As ImmutableArray(Of T) 226Private Function GetLatestRootDeclarationIfAny(includeEmbedded As Boolean) As RootSingleNamespaceDeclaration
Declarations\DeclarationTreeBuilder.vb (2)
27Public Shared Function ForTree(tree As SyntaxTree, rootNamespace As ImmutableArray(Of String), scriptClassName As String, isSubmission As Boolean) As RootSingleNamespaceDeclaration 29Dim decl = DirectCast(builder.ForDeclaration(tree.GetRoot()), RootSingleNamespaceDeclaration)
Symbols\Source\SourceAssemblySymbol.vb (1)
476For Each rootNs As RootSingleNamespaceDeclaration In declarations
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Parser\DeclarationTests.vb (2)
179Private Function Lazy(decl As RootSingleNamespaceDeclaration) As DeclarationTableEntry 180Return New DeclarationTableEntry(New Lazy(Of RootSingleNamespaceDeclaration)(Function() decl), isEmbedded:=False)