19 references to IsLastTokenOfStatement
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
LineCommit\ContainingStatementInfo.vb (1)
51If previousToken.IsLastTokenOfStatement() Then
Microsoft.CodeAnalysis.VisualBasic.Features (5)
ExtractMethod\VisualBasicMethodExtractor.TriviaResult.vb (2)
123If token1.IsLastTokenOfStatement() Then 133If token1.IsLastTokenOfStatement() Then
ExtractMethod\VisualBasicMethodExtractor.vb (1)
123If Not previousToken.IsLastTokenOfStatement() Then
ExtractMethod\VisualBasicSelectionValidator.vb (1)
657If root.FindTokenOnLeftOfPosition(previousLine.End).IsLastTokenOfStatement() Then
MetadataAsSource\VisualBasicMetadataAsSourceService.vb (1)
85If Not token1.IsLastTokenOfStatement() Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (13)
CodeCleanup\Providers\RemoveUnnecessaryLineContinuationCodeCleanupProvider.vb (1)
125If token1.IsLastTokenOfStatement() AndAlso Not token1.IsMissing Then
Formatting\DefaultOperationProvider.vb (1)
75If previousToken.IsLastTokenOfStatement(statement:=previousStatement) AndAlso ContainEndOfLine(previousToken, currentToken) AndAlso currentToken.Kind <> SyntaxKind.EmptyToken Then
Formatting\Rules\ElasticTriviaFormattingRule.vb (1)
191If Not previousToken.IsLastTokenOfStatement() Then
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (3)
27Return token.IsLastTokenOfStatement() 36Return token.IsLastTokenOfStatement() 272If Not token.IsLastTokenOfStatement() Then
ParenthesizedExpressionSyntaxExtensions.vb (4)
324Dim isNodeCloseParenLastTokenOfStatement = node.CloseParenToken.IsLastTokenOfStatement(checkColonTrivia:=True) 465lastToken.IsLastTokenOfStatement(checkColonTrivia:=True) OrElse 509node.CloseParenToken.IsLastTokenOfStatement() Then 535node.CloseParenToken.IsLastTokenOfStatement() Then
VisualBasicIndentationService.Indenter.vb (3)
85If trivia.Kind = SyntaxKind.SkippedTokensTrivia AndAlso trivia.Token.IsLastTokenOfStatement() Then 128Dim subQuerySpaces = If(token.IsLastTokenOfStatement(), 0, indenter.Options.FormattingOptions.IndentationSize) 176If lastVisibleTokenOnPreviousLine.IsLastTokenOfStatement() Then