33 references to DeclareSubStatement
Microsoft.CodeAnalysis.VisualBasic (33)
Binding\Binder_Symbols.vb (1)
454Return p.Kind = SyntaxKind.DeclareFunctionStatement OrElse p.Kind = SyntaxKind.DeclareSubStatement
Binding\BinderFactory.vb (3)
382SyntaxKind.DeclareSubStatement 478SyntaxKind.DeclareSubStatement, 534SyntaxKind.DeclareSubStatement,
Binding\MemberSemanticModel.vb (1)
368SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement,
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (1)
154SyntaxKind.DeclareSubStatement,
Compilation\SemanticModel.vb (1)
3305SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement
Declarations\DeclarationTreeBuilder.vb (1)
659SyntaxKind.SubNewStatement, SyntaxKind.DeclareSubStatement,
Generated\Syntax.xml.Internal.Generated.vb (2)
36345Return New DeclareStatementSyntax(SyntaxKind.DeclareSubStatement, attributeLists.Node, modifiers.Node, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause) 48411Return New DeclareStatementSyntax(SyntaxKind.DeclareSubStatement, attributeLists.Node, modifiers.Node, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (6)
9711Return New DeclareStatementSyntax(SyntaxKind.DeclareSubStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(declareKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(charsetKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(libKeyword.Node, InternalSyntax.KeywordSyntax), libraryName, DirectCast(aliasKeyword.Node, InternalSyntax.KeywordSyntax), aliasName, parameterList, asClause) 10025Case SyntaxKind.DeclareSubStatement 35840SyntaxKind.DeclareSubStatement, 36134SyntaxKind.DeclareSubStatement, 36436SyntaxKind.DeclareSubStatement, 44172SyntaxKind.DeclareSubStatement,
Generated\Syntax.xml.Syntax.Generated.vb (1)
7218''' <item><description><see cref="SyntaxKind.DeclareSubStatement"/></description></item>
Parser\BlockContexts\DeclarationContext.vb (2)
218SyntaxKind.DeclareSubStatement, 289SyntaxKind.DeclareSubStatement,
Parser\BlockContexts\ExecutableStatementContext.vb (1)
129SyntaxKind.DeclareSubStatement,
Parser\ParseExpression.vb (1)
1853SyntaxKind.DeclareSubStatement,
Parser\Parser.vb (2)
5051externalKind = SyntaxKind.DeclareSubStatement 5060externalKind = SyntaxKind.DeclareSubStatement
src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
208Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2578SyntaxKind.DeclareSubStatement, 2704Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement
Symbols\Source\SourceMethodSymbol.vb (6)
254If syntax.Kind = SyntaxKind.DeclareSubStatement Then 871Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 917Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 2218Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 2240Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 2276SyntaxKind.DeclareSubStatement
Syntax\SyntaxNodePartials.vb (1)
103Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement