62 references to BranchingContext
System.Data.SqlXml (62)
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (5)
227
private
BranchingContext
brctxt;
418
public void SetBranching(
BranchingContext
brctxt, Label lblBranch) {
419
Debug.Assert(brctxt !=
BranchingContext
.None);
428
get { return this.brctxt !=
BranchingContext
.None; }
441
public
BranchingContext
CurrentBranchingContext {
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (57)
459
if (this.iterCurr.CurrentBranchingContext !=
BranchingContext
.None) {
462
this.helper.EmitUnconditionalBranch(this.iterCurr.CurrentBranchingContext ==
BranchingContext
.OnTrue ?
485
if (this.iterCurr.CurrentBranchingContext !=
BranchingContext
.None) {
488
this.helper.EmitUnconditionalBranch(this.iterCurr.CurrentBranchingContext ==
BranchingContext
.OnFalse ?
605
private Label StartConjunctiveTests(
BranchingContext
brctxt, Label lblBranch) {
609
case
BranchingContext
.OnFalse:
611
this.iterCurr.SetBranching(
BranchingContext
.OnFalse, lblBranch);
619
this.iterCurr.SetBranching(
BranchingContext
.OnFalse, lblOnFalse);
627
private void StartLastConjunctiveTest(
BranchingContext
brctxt, Label lblBranch, Label lblOnFalse) {
629
case
BranchingContext
.OnTrue:
631
this.iterCurr.SetBranching(
BranchingContext
.OnTrue, lblBranch);
637
this.iterCurr.SetBranching(
BranchingContext
.OnFalse, lblOnFalse);
645
private void EndConjunctiveTests(
BranchingContext
brctxt, Label lblBranch, Label lblOnFalse) {
647
case
BranchingContext
.OnTrue:
650
goto case
BranchingContext
.OnFalse;
652
case
BranchingContext
.OnFalse:
656
case
BranchingContext
.None:
692
case
BranchingContext
.OnFalse:
696
NestedVisitWithBranch(ndOr.Left,
BranchingContext
.OnTrue, lblTemp);
699
case
BranchingContext
.OnTrue:
701
NestedVisitWithBranch(ndOr.Left,
BranchingContext
.OnTrue, this.iterCurr.LabelBranch);
706
Debug.Assert(this.iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
708
NestedVisitWithBranch(ndOr.Left,
BranchingContext
.OnTrue, lblTemp);
714
case
BranchingContext
.OnFalse:
716
NestedVisitWithBranch(ndOr.Right,
BranchingContext
.OnFalse, this.iterCurr.LabelBranch);
719
case
BranchingContext
.OnTrue:
721
NestedVisitWithBranch(ndOr.Right,
BranchingContext
.OnTrue, this.iterCurr.LabelBranch);
728
NestedVisitWithBranch(ndOr.Right,
BranchingContext
.OnTrue, lblTemp);
733
case
BranchingContext
.OnFalse:
736
goto case
BranchingContext
.OnTrue;
738
case
BranchingContext
.OnTrue:
742
case
BranchingContext
.None:
777
case
BranchingContext
.OnFalse:
778
NestedVisitWithBranch(ndNot.Child,
BranchingContext
.OnTrue, this.iterCurr.LabelBranch);
781
case
BranchingContext
.OnTrue:
782
NestedVisitWithBranch(ndNot.Child,
BranchingContext
.OnFalse, this.iterCurr.LabelBranch);
787
Debug.Assert(this.iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
789
NestedVisitWithBranch(ndNot.Child,
BranchingContext
.OnTrue, lblTemp);
793
if (this.iterCurr.CurrentBranchingContext ==
BranchingContext
.None) {
816
NestedVisitWithBranch(ndCond.Left,
BranchingContext
.OnFalse, lblFalse);
854
NestedVisitWithBranch(ndCond.Left,
BranchingContext
.OnFalse, lblFalse);
1757
this.iterCurr.SetBranching(
BranchingContext
.OnFalse, this.iterCurr.ParentIterator.GetLabelNext());
3126
case
BranchingContext
.OnFalse:
3131
case
BranchingContext
.OnTrue:
3137
Debug.Assert(this.iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
3153
if (iterParent.CurrentBranchingContext ==
BranchingContext
.OnTrue)
3165
case
BranchingContext
.OnFalse:
3171
case
BranchingContext
.OnTrue:
3175
case
BranchingContext
.None:
3981
case
BranchingContext
.OnFalse:
4011
case
BranchingContext
.OnTrue:
4026
Debug.Assert(this.iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
4060
case
BranchingContext
.OnTrue:
4067
case
BranchingContext
.OnFalse:
4075
Debug.Assert(this.iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
4350
if (this.iterCurr.CurrentBranchingContext ==
BranchingContext
.OnTrue)
4453
private void NestedVisitWithBranch(QilNode nd,
BranchingContext
brctxt, Label lblBranch) {