62 references to BranchingContext
System.Private.Xml (62)
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (5)
268private BranchingContext _brctxt; 477public void SetBranching(BranchingContext brctxt, Label lblBranch) 479Debug.Assert(brctxt != BranchingContext.None); 489get { return _brctxt != BranchingContext.None; } 503public BranchingContext CurrentBranchingContext
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (57)
491if (_iterCurr.CurrentBranchingContext != BranchingContext.None) 495_helper.EmitUnconditionalBranch(_iterCurr.CurrentBranchingContext == BranchingContext.OnTrue ? 520if (_iterCurr.CurrentBranchingContext != BranchingContext.None) 524_helper.EmitUnconditionalBranch(_iterCurr.CurrentBranchingContext == BranchingContext.OnFalse ? 649private Label StartConjunctiveTests(BranchingContext brctxt, Label lblBranch) 655case BranchingContext.OnFalse: 657_iterCurr.SetBranching(BranchingContext.OnFalse, lblBranch); 665_iterCurr.SetBranching(BranchingContext.OnFalse, lblOnFalse); 673private void StartLastConjunctiveTest(BranchingContext brctxt, Label lblBranch, Label lblOnFalse) 677case BranchingContext.OnTrue: 679_iterCurr.SetBranching(BranchingContext.OnTrue, lblBranch); 685_iterCurr.SetBranching(BranchingContext.OnFalse, lblOnFalse); 693private void EndConjunctiveTests(BranchingContext brctxt, Label lblOnFalse) 697case BranchingContext.OnTrue: 700goto case BranchingContext.OnFalse; 702case BranchingContext.OnFalse: 706case BranchingContext.None: 744case BranchingContext.OnFalse: 748NestedVisitWithBranch(ndOr.Left, BranchingContext.OnTrue, lblTemp); 751case BranchingContext.OnTrue: 753NestedVisitWithBranch(ndOr.Left, BranchingContext.OnTrue, _iterCurr.LabelBranch); 758Debug.Assert(_iterCurr.CurrentBranchingContext == BranchingContext.None); 760NestedVisitWithBranch(ndOr.Left, BranchingContext.OnTrue, lblTemp); 767case BranchingContext.OnFalse: 769NestedVisitWithBranch(ndOr.Right, BranchingContext.OnFalse, _iterCurr.LabelBranch); 772case BranchingContext.OnTrue: 774NestedVisitWithBranch(ndOr.Right, BranchingContext.OnTrue, _iterCurr.LabelBranch); 781NestedVisitWithBranch(ndOr.Right, BranchingContext.OnTrue, lblTemp); 787case BranchingContext.OnFalse: 790goto case BranchingContext.OnTrue; 792case BranchingContext.OnTrue: 796case BranchingContext.None: 833case BranchingContext.OnFalse: 834NestedVisitWithBranch(ndNot.Child, BranchingContext.OnTrue, _iterCurr.LabelBranch); 837case BranchingContext.OnTrue: 838NestedVisitWithBranch(ndNot.Child, BranchingContext.OnFalse, _iterCurr.LabelBranch); 843Debug.Assert(_iterCurr.CurrentBranchingContext == BranchingContext.None); 845NestedVisitWithBranch(ndNot.Child, BranchingContext.OnTrue, lblTemp); 849if (_iterCurr.CurrentBranchingContext == BranchingContext.None) 876NestedVisitWithBranch(ndCond.Left, BranchingContext.OnFalse, lblFalse); 918NestedVisitWithBranch(ndCond.Left, BranchingContext.OnFalse, lblFalse); 1901_iterCurr.SetBranching(BranchingContext.OnFalse, _iterCurr.ParentIterator!.GetLabelNext()); 3364case BranchingContext.OnFalse: 3369case BranchingContext.OnTrue: 3375Debug.Assert(_iterCurr.CurrentBranchingContext == BranchingContext.None); 3392if (iterParent.CurrentBranchingContext == BranchingContext.OnTrue) 3405case BranchingContext.OnFalse: 3411case BranchingContext.OnTrue: 3415case BranchingContext.None: 4296case BranchingContext.OnFalse: 4329case BranchingContext.OnTrue: 4345Debug.Assert(_iterCurr.CurrentBranchingContext == BranchingContext.None); 4383case BranchingContext.OnTrue: 4390case BranchingContext.OnFalse: 4398Debug.Assert(_iterCurr.CurrentBranchingContext == BranchingContext.None); 4710if (_iterCurr.CurrentBranchingContext == BranchingContext.OnTrue) 4823private void NestedVisitWithBranch(QilNode nd, BranchingContext brctxt, Label lblBranch)