39 references to ModuleBlock
Microsoft.CodeAnalysis.VisualBasic (39)
Compilation\SemanticModel.vb (1)
3311Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock
Compilation\SyntaxTreeSemanticModel.vb (1)
978Case SyntaxKind.ClassBlock, SyntaxKind.EnumBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock
Declarations\DeclarationTreeBuilder.vb (2)
424Case SyntaxKind.ModuleBlock, 460Case SyntaxKind.ModuleBlock,
Declarations\MergedTypeDeclaration.vb (1)
88SyntaxKind.ModuleBlock,
Generated\Syntax.xml.Internal.Generated.vb (2)
35045Return New ModuleBlockSyntax(SyntaxKind.ModuleBlock, moduleStatement, [inherits].Node, [implements].Node, members.Node, endModuleStatement) 47111Return New ModuleBlockSyntax(SyntaxKind.ModuleBlock, moduleStatement, [inherits].Node, [implements].Node, members.Node, endModuleStatement, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (4)
7080Return New ModuleBlockSyntax(SyntaxKind.ModuleBlock, Nothing, Nothing, moduleStatement, [inherits].Node, [implements].Node, members.Node, endModuleStatement) 35813SyntaxKind.ModuleBlock, 36107SyntaxKind.ModuleBlock, 36409SyntaxKind.ModuleBlock,
Generated\Syntax.xml.Syntax.Generated.vb (1)
1609''' <item><description><see cref="SyntaxKind.ModuleBlock"/></description></item>
Parser\BlockContexts\BlockContext.vb (2)
610Case SyntaxKind.ModuleBlock 735Case SyntaxKind.ModuleBlock
Parser\BlockContexts\DeclarationContext.vb (5)
62Return New TypeBlockContext(SyntaxKind.ModuleBlock, DirectCast(node, StatementSyntax), Me) 105If Me.BlockKind = SyntaxKind.ModuleBlock Then 197SyntaxKind.ModuleBlock, 313If Me.BlockKind = SyntaxKind.ModuleBlock Then 328SyntaxKind.ModuleBlock
Parser\BlockContexts\EnumDeclarationBlockContext.vb (1)
61SyntaxKind.ModuleBlock,
Parser\BlockContexts\ExecutableStatementContext.vb (1)
175SyntaxKind.ModuleBlock,
Parser\BlockContexts\NamespaceBlockContext.vb (3)
37Return New TypeBlockContext(SyntaxKind.ModuleBlock, DirectCast(node, StatementSyntax), Me) 41SyntaxKind.ModuleBlock 67Case SyntaxKind.ModuleBlock
Parser\BlockContexts\TypeBlockContext.vb (2)
21Debug.Assert(contextKind = SyntaxKind.ModuleBlock OrElse contextKind = SyntaxKind.ClassBlock OrElse 24Debug.Assert(BlockKind = SyntaxKind.ModuleBlock OrElse BlockKind = SyntaxKind.ClassBlock OrElse
Parser\Parser.vb (2)
1380SyntaxKind.ModuleBlock, 2061SyntaxKind.ModuleBlock,
Symbols\Source\SourceMethodSymbol.vb (2)
1031If node.Parent.Kind = SyntaxKind.ModuleBlock OrElse 1032(node.Parent.Parent IsNot Nothing AndAlso node.Parent.Parent.Kind = SyntaxKind.ModuleBlock) Then
Symbols\Source\SourceNamedTypeSymbol.vb (5)
130Case SyntaxKind.ModuleBlock, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock 411Case SyntaxKind.ModuleBlock 656Case SyntaxKind.ModuleBlock, SyntaxKind.ClassBlock, 1018Case SyntaxKind.ModuleBlock 1049Case SyntaxKind.ModuleBlock
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
531Case SyntaxKind.ModuleBlock
Syntax\LambdaUtilities.vb (1)
688Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.ModuleBlock
Syntax\SyntaxFactory.vb (1)
421Case SyntaxKind.ModuleBlock
Syntax\SyntaxFacts.vb (1)
346Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock