11 references to ConditionalGoto
Microsoft.CodeAnalysis.CSharp (11)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (9)
479
_loweredDecisionDag.Add(_factory.
ConditionalGoto
(test, GetDagNodeLabel(whenTrue), jumpIfTrue: true));
484
_loweredDecisionDag.Add(_factory.
ConditionalGoto
(test, GetDagNodeLabel(whenFalse), jumpIfTrue: false));
489
_loweredDecisionDag.Add(_factory.
ConditionalGoto
(test, GetDagNodeLabel(whenTrue), jumpIfTrue: true));
682
_loweredDecisionDag.Add(_factory.
ConditionalGoto
(test, trueLabel, jumpIfTrue: true));
688
_loweredDecisionDag.Add(_factory.
ConditionalGoto
(test, falseLabel, jumpIfTrue: false));
694
_loweredDecisionDag.Add(_factory.
ConditionalGoto
(test, falseLabel, jumpIfTrue: false));
830
_loweredDecisionDag.Add(_factory.
ConditionalGoto
(MakeValueTest(node.Syntax, input, cases[i].value), cases[i].label, jumpIfTrue: true));
839
_loweredDecisionDag.Add(_factory.
ConditionalGoto
(MakeRelationalTest(node.Syntax, input, lessThanOrEqualOperator, cases[firstIndex + half - 1].value), gt, jumpIfTrue: false));
1126
BoundStatement conditionalGoto = _factory.
ConditionalGoto
(_localRewriter.VisitExpression(whenExpression), whenTrueLabel, jumpIfTrue: true);
Lowering\SyntheticBoundNodeFactory.cs (2)
946
statements.Add(
ConditionalGoto
(condition, alt, false));
961
statements.Add(
ConditionalGoto
(condition, afterif, false));