12 references to IfKeyword
Microsoft.CodeAnalysis.VisualBasic (10)
Generated\Syntax.xml.Main.Generated.vb (2)
4194
Dim newIfKeyword = DirectCast(VisitToken(node.
IfKeyword
).Node, InternalSyntax.KeywordSyntax)
4195
If node.
IfKeyword
.Node IsNot newIfKeyword Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (8)
25686
return Update(Me.
IfKeyword
, openParenToken, Me.Condition, Me.FirstCommaToken, Me.WhenTrue, Me.SecondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25704
return Update(Me.
IfKeyword
, Me.OpenParenToken, condition, Me.FirstCommaToken, Me.WhenTrue, Me.SecondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25722
return Update(Me.
IfKeyword
, Me.OpenParenToken, Me.Condition, firstCommaToken, Me.WhenTrue, Me.SecondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25740
return Update(Me.
IfKeyword
, Me.OpenParenToken, Me.Condition, Me.FirstCommaToken, whenTrue, Me.SecondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25758
return Update(Me.
IfKeyword
, Me.OpenParenToken, Me.Condition, Me.FirstCommaToken, Me.WhenTrue, secondCommaToken, Me.WhenFalse, Me.CloseParenToken)
25776
return Update(Me.
IfKeyword
, Me.OpenParenToken, Me.Condition, Me.FirstCommaToken, Me.WhenTrue, Me.SecondCommaToken, whenFalse, Me.CloseParenToken)
25794
return Update(Me.
IfKeyword
, Me.OpenParenToken, Me.Condition, Me.FirstCommaToken, Me.WhenTrue, Me.SecondCommaToken, Me.WhenFalse, closeParenToken)
25861
If ifKeyword <> Me.
IfKeyword
OrElse openParenToken <> Me.OpenParenToken OrElse condition IsNot Me.Condition OrElse firstCommaToken <> Me.FirstCommaToken OrElse whenTrue IsNot Me.WhenTrue OrElse secondCommaToken <> Me.SecondCommaToken OrElse whenFalse IsNot Me.WhenFalse OrElse closeParenToken <> Me.CloseParenToken Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
20958
Assert.NotNull(objectUnderTest.
ifKeyword
)
20966
Dim withObj = objectUnderTest.WithIfKeyword(objectUnderTest.
IfKeyword
).WithOpenParenToken(objectUnderTest.OpenParenToken).WithCondition(objectUnderTest.Condition).WithFirstCommaToken(objectUnderTest.FirstCommaToken).WithWhenTrue(objectUnderTest.WhenTrue).WithSecondCommaToken(objectUnderTest.SecondCommaToken).WithWhenFalse(objectUnderTest.WhenFalse).WithCloseParenToken(objectUnderTest.CloseParenToken)