1 implementation of Condition
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4501
public IOperation?
Condition
{ get; }
12 references to Condition
Microsoft.CodeAnalysis (7)
Generated\Operations.Generated.cs (3)
305
/// True if the <see cref="
Condition
" /> is evaluated at start of each loop iteration.
310
/// True if the loop has 'Until' loop semantics and the loop is executed while <see cref="
Condition
" /> is false.
316
/// 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)
3599
Debug.Assert(operation.
Condition
is not null);
3600
VisitConditionalBranch(operation.
Condition
, ref @break, jumpIfTrue: operation.ConditionIsUntil);
3629
if (operation.
Condition
!= null)
3631
VisitConditionalBranch(operation.
Condition
, ref start, jumpIfTrue: !operation.ConditionIsUntil);
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (1)
561
Visit(operation.
Condition
, "Condition");
Compilation\TestOperationVisitor.cs (4)
264
children = new[] { operation.
Condition
, operation.Body, operation.IgnoredCondition };
268
children = new[] { operation.
Condition
, operation.Body };
275
if (operation.
Condition
!= null)
277
children = new[] { operation.Body, operation.
Condition
};