44 references to ModuleStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (31)
Generated\Syntax.xml.Main.Generated.vb (11)
65
Public Overridable Function VisitModuleStatement(ByVal node As
ModuleStatementSyntax
) As TResult
800
Public Overridable Sub VisitModuleStatement(ByVal node As
ModuleStatementSyntax
)
1649
Dim newModuleStatement = DirectCast(Visit(node.ModuleStatement),
ModuleStatementSyntax
)
1777
Public Overrides Function VisitModuleStatement(ByVal node As
ModuleStatementSyntax
) As SyntaxNode
7063
Public Shared Function ModuleBlock(moduleStatement As
ModuleStatementSyntax
, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endModuleStatement As EndBlockStatementSyntax) As ModuleBlockSyntax
7100
Public Shared Function ModuleBlock(moduleStatement As
ModuleStatementSyntax
, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As ModuleBlockSyntax
7112
Public Shared Function ModuleBlock(moduleStatement As
ModuleStatementSyntax
) As ModuleBlockSyntax
7501
Public Shared Function ModuleStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, moduleKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As
ModuleStatementSyntax
7535
Public Shared Function ModuleStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As
ModuleStatementSyntax
7547
Public Shared Function ModuleStatement(identifier As SyntaxToken) As
ModuleStatementSyntax
7559
Public Shared Function ModuleStatement(identifier As String) As
ModuleStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (14)
1615
Friend _moduleStatement as
ModuleStatementSyntax
1624
Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), moduleStatement As
ModuleStatementSyntax
, [inherits] As SyntaxNode, [implements] As SyntaxNode, members As SyntaxNode, endModuleStatement As EndBlockStatementSyntax)
1631
Public ReadOnly Property ModuleStatement As
ModuleStatementSyntax
1642
Public Shadows Function WithModuleStatement(moduleStatement as
ModuleStatementSyntax
) As ModuleBlockSyntax
1840
Public Function Update(moduleStatement As
ModuleStatementSyntax
, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endModuleStatement As EndBlockStatementSyntax) As ModuleBlockSyntax
3206
Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As
ModuleStatementSyntax
3210
Public Shadows Function AddAttributeLists(ParamArray items As AttributeListSyntax()) As
ModuleStatementSyntax
3248
Public Shadows Function WithModifiers(modifiers as SyntaxTokenList) As
ModuleStatementSyntax
3252
Public Shadows Function AddModifiers(ParamArray items As SyntaxToken()) As
ModuleStatementSyntax
3274
Public Shadows Function WithModuleKeyword(moduleKeyword as SyntaxToken) As
ModuleStatementSyntax
3300
Public Shadows Function WithIdentifier(identifier as SyntaxToken) As
ModuleStatementSyntax
3330
Public Shadows Function WithTypeParameterList(typeParameterList as TypeParameterListSyntax) As
ModuleStatementSyntax
3334
Public Shadows Function AddTypeParameterListParameters(ParamArray items As TypeParameterSyntax()) As
ModuleStatementSyntax
3393
Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, moduleKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As
ModuleStatementSyntax
Syntax\SyntaxFactory.vb (1)
422
Return SyntaxFactory.ModuleBlock(DirectCast(begin,
ModuleStatementSyntax
), [inherits], [implements], members, [end])
Syntax\SyntaxNormalizer.vb (1)
1278
Public Overrides Function VisitModuleStatement(node As
ModuleStatementSyntax
) As SyntaxNode
Syntax\TypeBlockSyntax.vb (3)
237
Return WithModuleStatement(DirectCast(blockStatement,
ModuleStatementSyntax
))
246
Public Shadows ReadOnly Property Begin As
ModuleStatementSyntax
262
Public Shadows Function WithBegin(begin As
ModuleStatementSyntax
) As ModuleBlockSyntax
Syntax\TypeStatementSyntax.vb (1)
66
Public Shadows Function WithKeyword(keyword As SyntaxToken) As
ModuleStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (2)
93
Return DirectCast(member,
ModuleStatementSyntax
).WithAttributeLists(attributeLists)
244
Return DirectCast(member,
ModuleStatementSyntax
).WithModifiers(modifiers)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (1)
119
Return DirectCast(declaration,
ModuleStatementSyntax
).Modifiers
Microsoft.CodeAnalysis.VisualBasic.Features (2)
CodeLens\VisualBasicCodeLensMemberFinder.vb (1)
75
Public Overrides Sub VisitModuleStatement(node As
ModuleStatementSyntax
)
Structure\VisualBasicBlockStructureProvider.vb (1)
33
builder.Add(Of
ModuleStatementSyntax
, TypeDeclarationStructureProvider)()
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
CodeCleanup\Providers\NormalizeModifiersOrOperatorsCodeCleanupProvider.vb (1)
101
Public Overrides Function VisitModuleStatement(node As
ModuleStatementSyntax
) As SyntaxNode
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
2423
Return DirectCast(declaration,
ModuleStatementSyntax
).WithModifiers(tokens)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (2)
93
Return DirectCast(member,
ModuleStatementSyntax
).WithAttributeLists(attributeLists)
244
Return DirectCast(member,
ModuleStatementSyntax
).WithModifiers(modifiers)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (1)
119
Return DirectCast(declaration,
ModuleStatementSyntax
).Modifiers
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (2)
93
Return DirectCast(member,
ModuleStatementSyntax
).WithAttributeLists(attributeLists)
244
Return DirectCast(member,
ModuleStatementSyntax
).WithModifiers(modifiers)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (1)
119
Return DirectCast(declaration,
ModuleStatementSyntax
).Modifiers