14 references to IfKeyword
Microsoft.CodeAnalysis.VisualBasic (5)
Generated\Syntax.xml.Main.Generated.vb (2)
2971Dim newIfKeyword = DirectCast(VisitToken(node.IfKeyword).Node, InternalSyntax.KeywordSyntax) 2972If node.IfKeyword.Node IsNot newIfKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (3)
14776return Update(Me.IfKeyword, condition, Me.ThenKeyword) 14801return Update(Me.IfKeyword, Me.Condition, thenKeyword) 14845If ifKeyword <> Me.IfKeyword OrElse condition IsNot Me.Condition OrElse thenKeyword <> Me.ThenKeyword Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
SyntaxTreeExtensions.vb (1)
399targetToken.IsChildToken(Of IfStatementSyntax)(Function(ifStatement) ifStatement.IfKeyword) OrElse
Microsoft.CodeAnalysis.VisualBasic.Features (5)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1630Return GetDiagnosticSpan(ifStatement.IfKeyword, ifStatement.Condition, ifStatement.ThenKeyword)
Highlighting\KeywordHighlighters\MultiLineIfBlockHighlighter.vb (1)
25highlights.Add(.IfKeyword.Span)
SplitOrMergeIfStatements\VisualBasicIfLikeStatementGenerator.vb (1)
149Dim newIfStatement = SyntaxFactory.IfStatement(ifBlock.IfStatement.IfKeyword,
SplitOrMergeIfStatements\VisualBasicMergeConsecutiveIfStatementsCodeRefactoringProvider.vb (1)
30span.IsAround(ifStatement.IfKeyword) OrElse
SplitOrMergeIfStatements\VisualBasicMergeNestedIfStatementsCodeRefactoringProvider.vb (1)
30span.IsAround(ifStatement.IfKeyword) OrElse
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
19645Assert.NotNull(objectUnderTest.ifKeyword) 19647Dim withObj = objectUnderTest.WithIfKeyword(objectUnderTest.IfKeyword).WithCondition(objectUnderTest.Condition).WithThenKeyword(objectUnderTest.ThenKeyword)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
399targetToken.IsChildToken(Of IfStatementSyntax)(Function(ifStatement) ifStatement.IfKeyword) OrElse