13 references to IfOrElseIfKeyword
Microsoft.CodeAnalysis.VisualBasic (7)
Generated\Syntax.xml.Main.Generated.vb (2)
5457
Dim newIfOrElseIfKeyword = DirectCast(VisitToken(node.
IfOrElseIfKeyword
).Node, InternalSyntax.KeywordSyntax)
5458
If node.
IfOrElseIfKeyword
.Node IsNot newIfOrElseIfKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (5)
36295
return Update(Me.Kind, hashToken, Me.ElseKeyword, Me.
IfOrElseIfKeyword
, Me.Condition, Me.ThenKeyword)
36317
return Update(Me.Kind, Me.HashToken, elseKeyword, Me.
IfOrElseIfKeyword
, Me.Condition, Me.ThenKeyword)
36347
return Update(Me.Kind, Me.HashToken, Me.ElseKeyword, Me.
IfOrElseIfKeyword
, condition, Me.ThenKeyword)
36369
return Update(Me.Kind, Me.HashToken, Me.ElseKeyword, Me.
IfOrElseIfKeyword
, Me.Condition, thenKeyword)
36422
If kind <> Me.Kind OrElse hashToken <> Me.HashToken OrElse elseKeyword <> Me.ElseKeyword OrElse ifOrElseIfKeyword <> Me.
IfOrElseIfKeyword
OrElse condition IsNot Me.Condition OrElse thenKeyword <> Me.ThenKeyword Then
Microsoft.CodeAnalysis.VisualBasic.Features (2)
BraceMatching\VisualBasicDirectiveTriviaBraceMatcher.vb (1)
35
Function(context As IfDirectiveTriviaSyntax) context.
IfOrElseIfKeyword
,
Highlighting\KeywordHighlighters\ConditionalPreprocessorHighlighter.vb (1)
31
highlights.Add(TextSpan.FromBounds(.HashToken.SpanStart, .
IfOrElseIfKeyword
.Span.End))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.vb (4)
21801
Assert.NotNull(objectUnderTest.
ifOrElseIfKeyword
)
21803
Dim withObj = objectUnderTest.WithHashToken(objectUnderTest.HashToken).WithElseKeyword(objectUnderTest.ElseKeyword).WithIfOrElseIfKeyword(objectUnderTest.
IfOrElseIfKeyword
).WithCondition(objectUnderTest.Condition).WithThenKeyword(objectUnderTest.ThenKeyword)
21811
Assert.NotNull(objectUnderTest.
ifOrElseIfKeyword
)
21813
Dim withObj = objectUnderTest.WithHashToken(objectUnderTest.HashToken).WithElseKeyword(objectUnderTest.ElseKeyword).WithIfOrElseIfKeyword(objectUnderTest.
IfOrElseIfKeyword
).WithCondition(objectUnderTest.Condition).WithThenKeyword(objectUnderTest.ThenKeyword)