15 references to Condition
Microsoft.CodeAnalysis.VisualBasic (9)
Generated\Syntax.xml.Main.Generated.vb (2)
5459
Dim newCondition = DirectCast(Visit(node.
Condition
), ExpressionSyntax)
5460
If node.
Condition
IsNot newCondition Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (6)
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)
36332
return Update(Me.Kind, Me.HashToken, Me.ElseKeyword, ifOrElseIfKeyword, Me.
Condition
, Me.ThenKeyword)
36369
return Update(Me.Kind, Me.HashToken, Me.ElseKeyword, Me.IfOrElseIfKeyword, Me.
Condition
, thenKeyword)
36384
Return Me.
Condition
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
Syntax\SyntaxFacts.vb (1)
1165
Return DirectCast(parent, IfDirectiveTriviaSyntax).
Condition
Is node
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\KeywordRecommenders\Statements\ThenKeywordRecommender.vb (1)
33
childGetter:=Function(ifDirective) ifDirective.
Condition
,
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.vb (4)
21802
Assert.NotNull(objectUnderTest.
condition
)
21803
Dim withObj = objectUnderTest.WithHashToken(objectUnderTest.HashToken).WithElseKeyword(objectUnderTest.ElseKeyword).WithIfOrElseIfKeyword(objectUnderTest.IfOrElseIfKeyword).WithCondition(objectUnderTest.
Condition
).WithThenKeyword(objectUnderTest.ThenKeyword)
21812
Assert.NotNull(objectUnderTest.
condition
)
21813
Dim withObj = objectUnderTest.WithHashToken(objectUnderTest.HashToken).WithElseKeyword(objectUnderTest.ElseKeyword).WithIfOrElseIfKeyword(objectUnderTest.IfOrElseIfKeyword).WithCondition(objectUnderTest.
Condition
).WithThenKeyword(objectUnderTest.ThenKeyword)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (1)
501
Dim previousToken = ifDirective.
Condition
.GetLastToken(includeZeroWidth:=True)