21 references to EndSubStatement
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Main.Generated.vb (4)
8318Return SyntaxFactory.SubBlock(subOrFunctionStatement, statements, SyntaxFactory.EndSubStatement()) 8330Return SyntaxFactory.SubBlock(subOrFunctionStatement, Nothing, SyntaxFactory.EndSubStatement()) 8516Return SyntaxFactory.ConstructorBlock(subNewStatement, statements, SyntaxFactory.EndSubStatement()) 8528Return SyntaxFactory.ConstructorBlock(subNewStatement, Nothing, SyntaxFactory.EndSubStatement())
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
629SyntaxFactory.EndSubStatement()).WithAdditionalAnnotations(annotations) 740SyntaxFactory.EndSubStatement()).WithAdditionalAnnotations(annotations)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ConstructorGenerator.vb (1)
52endSubStatement:=SyntaxFactory.EndSubStatement()))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\MethodGenerator.vb (1)
95Dim endConstruct = If(isSub, SyntaxFactory.EndSubStatement(), SyntaxFactory.EndFunctionStatement())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (9)
CodeGeneration\VisualBasicSyntaxGenerator.vb (5)
499SyntaxFactory.EndSubStatement()) 672endSubOrFunctionStatement:=If(returnType Is Nothing, SyntaxFactory.EndSubStatement(), SyntaxFactory.EndFunctionStatement())) 1105endSubOrFunctionStatement:=If(method.IsKind(SyntaxKind.FunctionStatement), SyntaxFactory.EndFunctionStatement(), SyntaxFactory.EndSubStatement())) 2794Return SyntaxFactory.MultiLineLambdaExpression(SyntaxKind.MultiLineSubLambdaExpression, sll.SubOrFunctionHeader, SyntaxFactory.EndSubStatement()) 3013Return SyntaxFactory.MultiLineLambdaExpression(SyntaxKind.MultiLineSubLambdaExpression, sll.SubOrFunctionHeader, list, SyntaxFactory.EndSubStatement())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
629SyntaxFactory.EndSubStatement()).WithAdditionalAnnotations(annotations) 740SyntaxFactory.EndSubStatement()).WithAdditionalAnnotations(annotations)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ConstructorGenerator.vb (1)
52endSubStatement:=SyntaxFactory.EndSubStatement()))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\MethodGenerator.vb (1)
95Dim endConstruct = If(isSub, SyntaxFactory.EndSubStatement(), SyntaxFactory.EndFunctionStatement())
Roslyn.Diagnostics.VisualBasic.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
629SyntaxFactory.EndSubStatement()).WithAdditionalAnnotations(annotations) 740SyntaxFactory.EndSubStatement()).WithAdditionalAnnotations(annotations)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ConstructorGenerator.vb (1)
52endSubStatement:=SyntaxFactory.EndSubStatement()))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\MethodGenerator.vb (1)
95Dim endConstruct = If(isSub, SyntaxFactory.EndSubStatement(), SyntaxFactory.EndFunctionStatement())