14 references to ThenKeyword
Microsoft.CodeAnalysis.VisualBasic (5)
Generated\Syntax.xml.Main.Generated.vb (2)
3007Dim newThenKeyword = DirectCast(VisitToken(node.ThenKeyword).Node, InternalSyntax.KeywordSyntax) 3008If node.ThenKeyword.Node IsNot newThenKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (3)
15022return Update(elseIfKeyword, Me.Condition, Me.ThenKeyword) 15040return Update(Me.ElseIfKeyword, condition, Me.ThenKeyword) 15109If elseIfKeyword <> Me.ElseIfKeyword OrElse condition IsNot Me.Condition OrElse thenKeyword <> Me.ThenKeyword Then
Microsoft.CodeAnalysis.VisualBasic.Features (4)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1634Return GetDiagnosticSpan(elseIfStatement.ElseIfKeyword, elseIfStatement.Condition, elseIfStatement.ThenKeyword)
Highlighting\KeywordHighlighters\MultiLineIfBlockHighlighter.vb (2)
37If .ThenKeyword.Kind <> SyntaxKind.None Then 38highlights.Add(.ThenKeyword.Span)
SplitOrMergeIfStatements\VisualBasicIfLikeStatementGenerator.vb (1)
151elseIfBlock.ElseIfStatement.ThenKeyword)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
19664Dim withObj = objectUnderTest.WithElseIfKeyword(objectUnderTest.ElseIfKeyword).WithCondition(objectUnderTest.Condition).WithThenKeyword(objectUnderTest.ThenKeyword)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (2)
385Return AddMissingOrOmittedTokenTransform(node, MyBase.VisitElseIfStatement(node), Function(n) n.ThenKeyword, SyntaxKind.ThenKeyword) 536ElseIf TryCast(parent, ElseIfStatementSyntax)?.ThenKeyword = originalToken Then
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
Help\VisualBasicHelpContextService.Visitor.vb (2)
177If node.ThenKeyword.Span.IntersectsWith(_span) Then 178result = Keyword(node.ThenKeyword.Text)