20 references to ThenKeyword
Microsoft.CodeAnalysis.VisualBasic (9)
Generated\Syntax.xml.Main.Generated.vb (2)
2918
Dim newThenKeyword = DirectCast(VisitToken(node.
ThenKeyword
).Node, InternalSyntax.KeywordSyntax)
2919
If node.
ThenKeyword
.Node IsNot newThenKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (5)
14217
return Update(ifKeyword, Me.Condition, Me.
ThenKeyword
, Me.Statements, Me.ElseClause)
14235
return Update(Me.IfKeyword, condition, Me.
ThenKeyword
, Me.Statements, Me.ElseClause)
14276
return Update(Me.IfKeyword, Me.Condition, Me.
ThenKeyword
, statements, Me.ElseClause)
14301
return Update(Me.IfKeyword, Me.Condition, Me.
ThenKeyword
, Me.Statements, elseClause)
14364
If 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)
209
condGoto = New BoundSequencePointWithSpan(asSingleLine, condGoto, TextSpan.FromBounds(asSingleLine.IfKeyword.SpanStart, asSingleLine.
ThenKeyword
.EndPosition - 1))
Syntax\SyntaxFacts.vb (1)
447
beginTerminator = ifStatement.
ThenKeyword
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
689
Dim ifStatement = SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.
ThenKeyword
) _
703
SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.
ThenKeyword
) _
Microsoft.CodeAnalysis.VisualBasic.Features (5)
EditAndContinue\BreakpointSpans.vb (2)
173
If position >= asSingleLine.IfKeyword.SpanStart AndAlso position < asSingleLine.
ThenKeyword
.Span.End Then
174
Return TextSpan.FromBounds(asSingleLine.IfKeyword.SpanStart, asSingleLine.
ThenKeyword
.Span.End)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1203
Return GetDiagnosticSpan(ifStatement.IfKeyword, ifStatement.Condition, ifStatement.
ThenKeyword
)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
183
node.
ThenKeyword
,
Highlighting\KeywordHighlighters\SingleLineIfBlockHighlighter.vb (1)
25
highlights.Add(ifStatement.
ThenKeyword
.Span)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
689
Dim ifStatement = SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.
ThenKeyword
) _
703
SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.
ThenKeyword
) _
Roslyn.Diagnostics.VisualBasic.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
689
Dim ifStatement = SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.
ThenKeyword
) _
703
SyntaxFactory.IfStatement(singleLineIf.IfKeyword, singleLineIf.Condition, singleLineIf.
ThenKeyword
) _