4 instantiations of ModuleStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Internal.Generated.vb (1)
2801Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (2)
1792Return New ModuleStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newModuleKeyword, newIdentifier, newTypeParameterList) 7512Return New ModuleStatementSyntax(SyntaxKind.ModuleStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(moduleKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList)
Generated\Syntax.xml.Syntax.Generated.vb (1)
3176Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.ModuleStatementSyntax(kind, errors, annotations, if(attributeLists IsNot Nothing, attributeLists.Green, Nothing), modifiers, moduleKeyword, identifier, if(typeParameterList IsNot Nothing, DirectCast(typeParameterList.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.TypeParameterListSyntax), Nothing)), Nothing, 0)
46 references to ModuleStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (31)
Generated\Syntax.xml.Main.Generated.vb (11)
65Public Overridable Function VisitModuleStatement(ByVal node As ModuleStatementSyntax) As TResult 800Public Overridable Sub VisitModuleStatement(ByVal node As ModuleStatementSyntax) 1649Dim newModuleStatement = DirectCast(Visit(node.ModuleStatement), ModuleStatementSyntax) 1777Public Overrides Function VisitModuleStatement(ByVal node As ModuleStatementSyntax) As SyntaxNode 7063Public 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 7100Public Shared Function ModuleBlock(moduleStatement As ModuleStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As ModuleBlockSyntax 7112Public Shared Function ModuleBlock(moduleStatement As ModuleStatementSyntax) As ModuleBlockSyntax 7501Public Shared Function ModuleStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, moduleKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As ModuleStatementSyntax 7535Public Shared Function ModuleStatement(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax) As ModuleStatementSyntax 7547Public Shared Function ModuleStatement(identifier As SyntaxToken) As ModuleStatementSyntax 7559Public Shared Function ModuleStatement(identifier As String) As ModuleStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (14)
1615Friend _moduleStatement as ModuleStatementSyntax 1624Friend 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) 1631Public ReadOnly Property ModuleStatement As ModuleStatementSyntax 1642Public Shadows Function WithModuleStatement(moduleStatement as ModuleStatementSyntax) As ModuleBlockSyntax 1840Public 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 3206Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As ModuleStatementSyntax 3210Public Shadows Function AddAttributeLists(ParamArray items As AttributeListSyntax()) As ModuleStatementSyntax 3248Public Shadows Function WithModifiers(modifiers as SyntaxTokenList) As ModuleStatementSyntax 3252Public Shadows Function AddModifiers(ParamArray items As SyntaxToken()) As ModuleStatementSyntax 3274Public Shadows Function WithModuleKeyword(moduleKeyword as SyntaxToken) As ModuleStatementSyntax 3300Public Shadows Function WithIdentifier(identifier as SyntaxToken) As ModuleStatementSyntax 3330Public Shadows Function WithTypeParameterList(typeParameterList as TypeParameterListSyntax) As ModuleStatementSyntax 3334Public Shadows Function AddTypeParameterListParameters(ParamArray items As TypeParameterSyntax()) As ModuleStatementSyntax 3393Public 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)
422Return SyntaxFactory.ModuleBlock(DirectCast(begin, ModuleStatementSyntax), [inherits], [implements], members, [end])
Syntax\SyntaxNormalizer.vb (1)
1278Public Overrides Function VisitModuleStatement(node As ModuleStatementSyntax) As SyntaxNode
Syntax\TypeBlockSyntax.vb (3)
237Return WithModuleStatement(DirectCast(blockStatement, ModuleStatementSyntax)) 246Public Shadows ReadOnly Property Begin As ModuleStatementSyntax 262Public Shadows Function WithBegin(begin As ModuleStatementSyntax) As ModuleBlockSyntax
Syntax\TypeStatementSyntax.vb (1)
66Public Shadows Function WithKeyword(keyword As SyntaxToken) As ModuleStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (3)
StatementSyntaxExtensions.vb (2)
93Return DirectCast(member, ModuleStatementSyntax).WithAttributeLists(attributeLists) 244Return DirectCast(member, ModuleStatementSyntax).WithModifiers(modifiers)
VisualBasicAccessibilityFacts.vb (1)
124Return DirectCast(declaration, ModuleStatementSyntax).Modifiers
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
198Public Overrides Function VisitModuleStatement(ByVal node As ModuleStatementSyntax) As AbstractEndConstructResult
Microsoft.CodeAnalysis.VisualBasic.Features (2)
CodeLens\VisualBasicCodeLensMemberFinder.vb (1)
74Public Overrides Sub VisitModuleStatement(node As ModuleStatementSyntax)
Structure\VisualBasicBlockStructureProvider.vb (1)
33builder.Add(Of ModuleStatementSyntax, TypeDeclarationStructureProvider)()
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
278Dim moduleStatement = DirectCast(context.Node, ModuleStatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
10322Private Shared Function GenerateRedModuleStatement() As ModuleStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
CodeCleanup\Providers\NormalizeModifiersOrOperatorsCodeCleanupProvider.vb (1)
101Public Overrides Function VisitModuleStatement(node As ModuleStatementSyntax) As SyntaxNode
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
2594Return DirectCast(declaration, ModuleStatementSyntax).WithModifiers(tokens)
StatementSyntaxExtensions.vb (2)
93Return DirectCast(member, ModuleStatementSyntax).WithAttributeLists(attributeLists) 244Return DirectCast(member, ModuleStatementSyntax).WithModifiers(modifiers)
VisualBasicAccessibilityFacts.vb (1)
124Return DirectCast(declaration, ModuleStatementSyntax).Modifiers
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
CodeModel\VisualBasicCodeModelService.vb (1)
974Return DirectCast(node, ModuleStatementSyntax).WithIdentifier(identifier)
Help\VisualBasicHelpContextService.Visitor.vb (1)
541Public Overrides Sub VisitModuleStatement(node As ModuleStatementSyntax)