System.Xml.Xsl.IlGen.XmlILVisitor.StartLastConjunctiveTest C# (CSharp) Метод

StartLastConjunctiveTest() приватный Метод

Fixup branching context for the last test in a conjunctive (Logical And) expression.
private StartLastConjunctiveTest ( BranchingContext brctxt, Label lblBranch, Label lblOnFalse ) : void
brctxt BranchingContext
lblBranch System.Reflection.Emit.Label
lblOnFalse System.Reflection.Emit.Label
Результат void
        private void StartLastConjunctiveTest(BranchingContext brctxt, Label lblBranch, Label lblOnFalse) {
            switch (brctxt) {
                case BranchingContext.OnTrue:
                    // If last condition evaluates to true, branch to true label
                    this.iterCurr.SetBranching(BranchingContext.OnTrue, lblBranch);
                    break;

                default:
                    // If last condition evalutes to false, branch to false label
                    // Else fall through to true code path
                    this.iterCurr.SetBranching(BranchingContext.OnFalse, lblOnFalse);
                    break;
            }
        }
XmlILVisitor