144 references to SubStatement
Microsoft.CodeAnalysis.VisualBasic (41)
Binding\BinderFactory.vb (4)
272SyntaxKind.SubStatement, 380SyntaxKind.SubStatement, 473Case SyntaxKind.SubStatement, 531Case SyntaxKind.SubStatement,
Binding\LocalBinderBuilder.vb (1)
114Case SyntaxKind.SubStatement, SyntaxKind.SubNewStatement
Binding\MemberSemanticModel.vb (1)
364SyntaxKind.SubStatement, SyntaxKind.FunctionStatement,
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (1)
149SyntaxKind.SubStatement,
Compilation\SemanticModel.vb (1)
3283Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Declarations\DeclarationTreeBuilder.vb (1)
658Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement,
Generated\Syntax.xml.Internal.Generated.vb (2)
36156Return New MethodStatementSyntax(SyntaxKind.SubStatement, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause) 48222Return New MethodStatementSyntax(SyntaxKind.SubStatement, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (8)
8289Case SyntaxKind.SubStatement, 8434Return SyntaxKind.SubStatement 9240Return New MethodStatementSyntax(SyntaxKind.SubStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9504Case SyntaxKind.SubStatement 35837SyntaxKind.SubStatement, 36131SyntaxKind.SubStatement, 36433SyntaxKind.SubStatement, 44152SyntaxKind.SubStatement,
Generated\Syntax.xml.Syntax.Generated.vb (1)
6588''' <item><description><see cref="SyntaxKind.SubStatement"/></description></item>
Parser\BlockContexts\DeclarationContext.vb (2)
76Case SyntaxKind.SubStatement 266SyntaxKind.SubStatement,
Parser\BlockContexts\ExecutableStatementContext.vb (1)
144SyntaxKind.SubStatement,
Parser\BlockContexts\InterfaceDeclarationBlockContext.vb (2)
63SyntaxKind.SubStatement, 162SyntaxKind.SubStatement,
Parser\BlockContexts\NamespaceBlockContext.vb (1)
57SyntaxKind.SubStatement,
Parser\ParseExpression.vb (1)
1839SyntaxKind.SubStatement,
Parser\Parser.vb (2)
3641ParseSubOrDelegateStatement(If(newKeyword Is Nothing, SyntaxKind.SubStatement, SyntaxKind.SubNewStatement), name, genericParams, parameters, handlesClause, implementsClause) 3683Debug.Assert(kind = SyntaxKind.SubStatement OrElse
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
254Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2577SyntaxKind.SubStatement, 2700Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Symbols\Source\SourceMethodSymbol.vb (8)
84If syntax.Kind = SyntaxKind.SubStatement Then 137If methodSyntax.Kind = SyntaxKind.SubStatement OrElse methodSyntax.Kind = SyntaxKind.FunctionStatement Then 869Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 912Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2095Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2250Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2272Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2309Case SyntaxKind.SubStatement,
Syntax\SyntaxNodePartials.vb (1)
97Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (17)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
159type.Parent.Parent.Parent.IsParentKind(SyntaxKind.SubStatement) Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (10)
53Case SyntaxKind.SubStatement, 126Case SyntaxKind.SubStatement, 196Case SyntaxKind.SubStatement, 278Case SyntaxKind.SubStatement, 338Case SyntaxKind.SubStatement, 373SyntaxKind.SubStatement 411Case SyntaxKind.SubStatement, 434Case SyntaxKind.SubStatement, 524SyntaxKind.SubStatement, 613SyntaxKind.SubStatement,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
1113Case SyntaxKind.SubStatement, 1178SyntaxKind.SubStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (2)
36SyntaxKind.SubStatement, 131SyntaxKind.SubStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (2)
1272SyntaxKind.SubStatement, 1479Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (7)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\ConvertToAsync\VisualBasicConvertToAsyncFunctionCodeFixProvider.vb (1)
79If Not methodDeclaration.IsKind(SyntaxKind.SubStatement) Then
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateMethodService.vb (1)
53If implementsClause.IsParentKind(SyntaxKind.SubStatement) OrElse
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\MethodGenerator.vb (1)
71Dim kind = If(isSub, SyntaxKind.SubStatement, SyntaxKind.FunctionStatement)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
702Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicDeclarationComparer.vb (2)
21{SyntaxKind.SubStatement, 4}, 100Case SyntaxKind.SubStatement,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
339SyntaxKind.SubStatement,
Microsoft.CodeAnalysis.VisualBasic.Features (22)
ChangeSignature\VisualBasicChangeSignatureService.vb (5)
28SyntaxKind.SubStatement, 52SyntaxKind.SubStatement, 73SyntaxKind.SubStatement, 283If vbnode.IsKind(SyntaxKind.SubStatement) OrElse 298If vbnode.IsKind(SyntaxKind.SubStatement) OrElse vbnode.IsKind(SyntaxKind.FunctionStatement) Then
Completion\KeywordRecommenders\Declarations\AsKeywordRecommender.vb (1)
86Not targetToken.GetAncestor(Of MethodBaseSyntax)().IsKind(SyntaxKind.SubStatement) Then
DocumentationComments\VisualBasicDocumentationCommentSnippetService.vb (1)
60SyntaxKind.SubStatement,
EditAndContinue\BreakpointSpans.vb (1)
159Case SyntaxKind.SubStatement,
EditAndContinue\SyntaxComparer.vb (3)
335Case SyntaxKind.SubStatement, 814SyntaxKind.SubStatement, 1239Case SyntaxKind.SubStatement, ' interface methods
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (5)
416SyntaxKind.SubStatement, 586Case SyntaxKind.SubStatement 1129Case SyntaxKind.SubStatement, 1351Case SyntaxKind.SubStatement, 1513SyntaxKind.SubStatement,
ExtractMethod\VisualBasicSelectionResult.vb (1)
329If TryCast(container, MethodBlockBaseSyntax)?.BlockStatement.Kind = SyntaxKind.SubStatement Then
MetadataAsSource\VisualBasicMetadataAsSourceService.vb (1)
128Case SyntaxKind.SubStatement,
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\ConvertToAsync\VisualBasicConvertToAsyncFunctionCodeFixProvider.vb (1)
79If Not methodDeclaration.IsKind(SyntaxKind.SubStatement) Then
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateMethodService.vb (1)
53If implementsClause.IsParentKind(SyntaxKind.SubStatement) OrElse
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
254Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Structure\VisualBasicStructureHelpers.vb (1)
145ElseIf node.IsKind(SyntaxKind.SubStatement, SyntaxKind.FunctionStatement) Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (35)
CodeGeneration\VisualBasicSyntaxGenerator.vb (12)
654kind:=If(returnType Is Nothing, SyntaxKind.SubStatement, SyntaxKind.FunctionStatement), 1046Case SyntaxKind.SubStatement, 1064Case SyntaxKind.SubStatement, 1289SyntaxKind.SubStatement 1678SyntaxKind.SubStatement 1743Case SyntaxKind.SubStatement 1931SyntaxKind.SubStatement 2016SyntaxKind.SubStatement 2210Case SyntaxKind.SubStatement 2298SyntaxKind.SubStatement, 2435SyntaxKind.SubStatement 2713Case SyntaxKind.SubStatement,
FindSymbols\VisualBasicDeclaredSymbolInfoFactoryService.vb (1)
279Case SyntaxKind.FunctionStatement, SyntaxKind.SubStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
159type.Parent.Parent.Parent.IsParentKind(SyntaxKind.SubStatement) Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (10)
53Case SyntaxKind.SubStatement, 126Case SyntaxKind.SubStatement, 196Case SyntaxKind.SubStatement, 278Case SyntaxKind.SubStatement, 338Case SyntaxKind.SubStatement, 373SyntaxKind.SubStatement 411Case SyntaxKind.SubStatement, 434Case SyntaxKind.SubStatement, 524SyntaxKind.SubStatement, 613SyntaxKind.SubStatement,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
1113Case SyntaxKind.SubStatement, 1178SyntaxKind.SubStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (2)
36SyntaxKind.SubStatement, 131SyntaxKind.SubStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (2)
1272SyntaxKind.SubStatement, 1479Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\MethodGenerator.vb (1)
71Dim kind = If(isSub, SyntaxKind.SubStatement, SyntaxKind.FunctionStatement)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
702Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicDeclarationComparer.vb (2)
21{SyntaxKind.SubStatement, 4}, 100Case SyntaxKind.SubStatement,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
339SyntaxKind.SubStatement,
Roslyn.Diagnostics.VisualBasic.Analyzers (22)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
159type.Parent.Parent.Parent.IsParentKind(SyntaxKind.SubStatement) Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (10)
53Case SyntaxKind.SubStatement, 126Case SyntaxKind.SubStatement, 196Case SyntaxKind.SubStatement, 278Case SyntaxKind.SubStatement, 338Case SyntaxKind.SubStatement, 373SyntaxKind.SubStatement 411Case SyntaxKind.SubStatement, 434Case SyntaxKind.SubStatement, 524SyntaxKind.SubStatement, 613SyntaxKind.SubStatement,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
1113Case SyntaxKind.SubStatement, 1178SyntaxKind.SubStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicAccessibilityFacts.vb (2)
36SyntaxKind.SubStatement, 131SyntaxKind.SubStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (2)
1272SyntaxKind.SubStatement, 1479Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\MethodGenerator.vb (1)
71Dim kind = If(isSub, SyntaxKind.SubStatement, SyntaxKind.FunctionStatement)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (1)
702Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicDeclarationComparer.vb (2)
21{SyntaxKind.SubStatement, 4}, 100Case SyntaxKind.SubStatement,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
339SyntaxKind.SubStatement,