29 references to NamespaceBlock
Microsoft.CodeAnalysis.VisualBasic (29)
Binding\BinderFactory.vb (1)
577If node IsNot Nothing AndAlso (node.Kind = SyntaxKind.NamespaceBlock OrElse node.Kind = SyntaxKind.CompilationUnit) Then
Compilation\SemanticModel.vb (1)
3308Case SyntaxKind.NamespaceBlock
Compilation\SyntaxTreeSemanticModel.vb (2)
990Case SyntaxKind.NamespaceBlock 1026Debug.Assert(statementSyntax.Kind = SyntaxKind.NamespaceBlock AndAlso
Generated\Syntax.xml.Internal.Generated.vb (4)
34980Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NamespaceBlock, namespaceStatement, members.Node, endNamespaceStatement, hash) 34985Dim result = New NamespaceBlockSyntax(SyntaxKind.NamespaceBlock, namespaceStatement, members.Node, endNamespaceStatement) 47046Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NamespaceBlock, namespaceStatement, members.Node, endNamespaceStatement, _factoryContext, hash) 47051Dim result = New NamespaceBlockSyntax(SyntaxKind.NamespaceBlock, namespaceStatement, members.Node, endNamespaceStatement, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (4)
6970Return New NamespaceBlockSyntax(SyntaxKind.NamespaceBlock, Nothing, Nothing, namespaceStatement, members.Node, endNamespaceStatement) 35811SyntaxKind.NamespaceBlock, 36105SyntaxKind.NamespaceBlock, 36407SyntaxKind.NamespaceBlock,
Generated\Syntax.xml.Syntax.Generated.vb (1)
1235''' <item><description><see cref="SyntaxKind.NamespaceBlock"/></description></item>
Parser\BlockContexts\BlockContext.vb (2)
606Case SyntaxKind.NamespaceBlock 732Case SyntaxKind.NamespaceBlock
Parser\BlockContexts\DeclarationContext.vb (2)
198SyntaxKind.NamespaceBlock, 327SyntaxKind.NamespaceBlock,
Parser\BlockContexts\EnumDeclarationBlockContext.vb (1)
60Case SyntaxKind.NamespaceBlock,
Parser\BlockContexts\ExecutableStatementContext.vb (1)
171SyntaxKind.NamespaceBlock,
Parser\BlockContexts\NamespaceBlockContext.vb (3)
18MyBase.New(SyntaxKind.NamespaceBlock, statement, prevContext) 40SyntaxKind.NamespaceBlock, 71Case SyntaxKind.NamespaceBlock
Parser\Parser.vb (2)
1386SyntaxKind.NamespaceBlock, 2067SyntaxKind.NamespaceBlock,
src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
57Case SyntaxKind.NamespaceBlock
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1445location = If(syntax.Kind = SyntaxKind.CompilationUnit OrElse syntax.Kind = SyntaxKind.NamespaceBlock,
Symbols\Source\SourceNamespaceSymbol.vb (1)
440If ancestorNode.Kind = SyntaxKind.NamespaceBlock Then
Syntax\SyntaxFacts.vb (1)
339Case SyntaxKind.NamespaceBlock
Syntax\SyntaxNormalizer.vb (1)
768If node.Members(0).Kind <> SyntaxKind.NamespaceBlock Then