1 implementation of Condition
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4128public IOperation? Condition { get; }
12 references to Condition
Microsoft.CodeAnalysis (7)
Generated\Operations.Generated.cs (3)
287/// True if the <see cref="Condition" /> is evaluated at start of each loop iteration. 292/// True if the loop has 'Until' loop semantics and the loop is executed while <see cref="Condition" /> is false. 298/// The top condition is preferred and exposed as <see cref="Condition" /> and the bottom condition is ignored and exposed by this property.
Operations\ControlFlowGraphBuilder.cs (4)
3582Debug.Assert(operation.Condition is not null); 3583VisitConditionalBranch(operation.Condition, ref @break, jumpIfTrue: operation.ConditionIsUntil); 3612if (operation.Condition != null) 3614VisitConditionalBranch(operation.Condition, ref start, jumpIfTrue: !operation.ConditionIsUntil);
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (1)
561Visit(operation.Condition, "Condition");
Compilation\TestOperationVisitor.cs (4)
264children = new[] { operation.Condition, operation.Body, operation.IgnoredCondition }; 268children = new[] { operation.Condition, operation.Body }; 275if (operation.Condition != null) 277children = new[] { operation.Body, operation.Condition };