19 references to IfKeyword
Microsoft.CodeAnalysis.VisualBasic (8)
Generated\Syntax.xml.Main.Generated.vb (2)
2914Dim newIfKeyword = DirectCast(VisitToken(node.IfKeyword).Node, InternalSyntax.KeywordSyntax) 2915If node.IfKeyword.Node IsNot newIfKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (5)
14235return Update(Me.IfKeyword, condition, Me.ThenKeyword, Me.Statements, Me.ElseClause) 14253return Update(Me.IfKeyword, Me.Condition, thenKeyword, Me.Statements, Me.ElseClause) 14276return Update(Me.IfKeyword, Me.Condition, Me.ThenKeyword, statements, Me.ElseClause) 14301return Update(Me.IfKeyword, Me.Condition, Me.ThenKeyword, Me.Statements, elseClause) 14364If ifKeyword <> Me.IfKeyword OrElse condition IsNot Me.Condition OrElse thenKeyword <> Me.ThenKeyword OrElse statements <> Me.Statements OrElse elseClause IsNot Me.ElseClause Then
Lowering\Instrumentation\DebugInfoInjector.vb (1)
209condGoto = New BoundSequencePointWithSpan(asSingleLine, condGoto, TextSpan.FromBounds(asSingleLine.IfKeyword.SpanStart, asSingleLine.ThenKeyword.EndPosition - 1))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
689Dim ifStatement = SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.ThenKeyword) _ 703SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.ThenKeyword) _
Microsoft.CodeAnalysis.VisualBasic.Features (5)
EditAndContinue\BreakpointSpans.vb (2)
173If position >= asSingleLine.IfKeyword.SpanStart AndAlso position < asSingleLine.ThenKeyword.Span.End Then 174Return TextSpan.FromBounds(asSingleLine.IfKeyword.SpanStart, asSingleLine.ThenKeyword.Span.End)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1203Return GetDiagnosticSpan(ifStatement.IfKeyword, ifStatement.Condition, ifStatement.ThenKeyword)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
181Return SyntaxFactory.SingleLineIfStatement(node.IfKeyword,
Highlighting\KeywordHighlighters\SingleLineIfBlockHighlighter.vb (1)
23highlights.Add(ifStatement.IfKeyword.Span)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
689Dim ifStatement = SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.ThenKeyword) _ 703SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.ThenKeyword) _
Roslyn.Diagnostics.VisualBasic.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
689Dim ifStatement = SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.ThenKeyword) _ 703SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.ThenKeyword) _