14 references to ThenKeyword
Microsoft.CodeAnalysis.VisualBasic (5)
Generated\Syntax.xml.Main.Generated.vb (2)
2975Dim newThenKeyword = DirectCast(VisitToken(node.ThenKeyword).Node, InternalSyntax.KeywordSyntax) 2976If node.ThenKeyword.Node IsNot newThenKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (3)
14758return Update(ifKeyword, Me.Condition, Me.ThenKeyword) 14776return Update(Me.IfKeyword, condition, Me.ThenKeyword) 14845If ifKeyword <> Me.IfKeyword OrElse condition IsNot Me.Condition OrElse thenKeyword <> Me.ThenKeyword Then
Microsoft.CodeAnalysis.VisualBasic.Features (4)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1630Return GetDiagnosticSpan(ifStatement.IfKeyword, ifStatement.Condition, ifStatement.ThenKeyword)
Highlighting\KeywordHighlighters\MultiLineIfBlockHighlighter.vb (2)
27If .ThenKeyword.Kind <> SyntaxKind.None Then 28highlights.Add(.ThenKeyword.Span)
SplitOrMergeIfStatements\VisualBasicIfLikeStatementGenerator.vb (1)
169ifBlock.IfStatement.ThenKeyword)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
19647Dim withObj = objectUnderTest.WithIfKeyword(objectUnderTest.IfKeyword).WithCondition(objectUnderTest.Condition).WithThenKeyword(objectUnderTest.ThenKeyword)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (2)
377Return AddMissingOrOmittedTokenTransform(node, MyBase.VisitIfStatement(node), Function(n) n.ThenKeyword, SyntaxKind.ThenKeyword) 529If Exist(ifStatement.Condition) AndAlso ifStatement.ThenKeyword = originalToken Then
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
Help\VisualBasicHelpContextService.Visitor.vb (2)
169If node.ThenKeyword.Span.IntersectsWith(_span) Then 170result = Keyword(node.ThenKeyword.Text)