12 references to IsLastTokenOfStatement
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (9)
DefaultOperationProvider.vb (1)
75If previousToken.IsLastTokenOfStatement(statement:=previousStatement) AndAlso ContainEndOfLine(previousToken, currentToken) AndAlso currentToken.Kind <> SyntaxKind.EmptyToken Then
ElasticTriviaFormattingRule.vb (1)
191If Not previousToken.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
SyntaxTreeExtensions.vb (3)
27Return token.IsLastTokenOfStatement() 36Return token.IsLastTokenOfStatement() 272If Not token.IsLastTokenOfStatement() Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
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