27 references to ModuleStatement
Microsoft.CodeAnalysis.VisualBasic (27)
Binding\BinderFactory.vb (3)
466
SyntaxKind.
ModuleStatement
559
SyntaxKind.
ModuleStatement
680
Case SyntaxKind.ClassStatement, SyntaxKind.
ModuleStatement
, SyntaxKind.StructureStatement, SyntaxKind.InterfaceStatement, SyntaxKind.EnumStatement
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (1)
148
SyntaxKind.
ModuleStatement
,
Compilation\SemanticModel.vb (1)
3279
Case SyntaxKind.ClassStatement, SyntaxKind.StructureStatement, SyntaxKind.InterfaceStatement, SyntaxKind.
ModuleStatement
Declarations\DeclarationTreeBuilder.vb (1)
795
Case SyntaxKind.
ModuleStatement
: Return DeclarationKind.Module
Generated\Syntax.xml.Internal.Generated.vb (2)
35238
Return New ModuleStatementSyntax(SyntaxKind.
ModuleStatement
, attributeLists.Node, modifiers.Node, moduleKeyword, identifier, typeParameterList)
47304
Return New ModuleStatementSyntax(SyntaxKind.
ModuleStatement
, attributeLists.Node, modifiers.Node, moduleKeyword, identifier, typeParameterList, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (5)
7068
Case SyntaxKind.
ModuleStatement
7512
Return New ModuleStatementSyntax(SyntaxKind.
ModuleStatement
, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(moduleKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList)
35820
SyntaxKind.
ModuleStatement
,
36114
SyntaxKind.
ModuleStatement
,
36416
SyntaxKind.
ModuleStatement
,
Generated\Syntax.xml.Syntax.Generated.vb (1)
3162
''' <item><description><see cref="SyntaxKind.
ModuleStatement
"/></description></item>
Parser\BlockContexts\DeclarationContext.vb (2)
59
Case SyntaxKind.
ModuleStatement
261
SyntaxKind.
ModuleStatement
,
Parser\BlockContexts\ExecutableStatementContext.vb (1)
104
SyntaxKind.
ModuleStatement
,
Parser\BlockContexts\NamespaceBlockContext.vb (2)
36
Case SyntaxKind.
ModuleStatement
56
SyntaxKind.
ModuleStatement
,
Parser\ParseExpression.vb (1)
1849
SyntaxKind.
ModuleStatement
,
Parser\Parser.vb (4)
1566
kind = SyntaxKind.
ModuleStatement
1590
If kind = SyntaxKind.
ModuleStatement
Then
1599
If (kind = SyntaxKind.
ModuleStatement
OrElse kind = SyntaxKind.InterfaceStatement) AndAlso statement.Modifiers.Any(SyntaxKind.PartialKeyword) Then
1600
statement = CheckFeatureAvailability(If(kind = SyntaxKind.
ModuleStatement
, Feature.PartialModules, Feature.PartialInterfaces), statement)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
550
Case SyntaxKind.
ModuleStatement
Syntax\SyntaxFactory.vb (1)
440
Case SyntaxKind.
ModuleStatement
Syntax\SyntaxFacts.vb (1)
597
kind = SyntaxKind.
ModuleStatement
OrElse kind = SyntaxKind.NamespaceStatement OrElse