1 instantiation of BranchLabel
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\InstructionList.cs (1)
940var label = new BranchLabel();
50 references to BranchLabel
System.Linq.Expressions (50)
System\Linq\Expressions\Interpreter\ControlFlowInstructions.cs (1)
168return ToString() + (targetIndex != BranchLabel.UnknownIndex ? " -> " + targetIndex : "");
System\Linq\Expressions\Interpreter\InstructionList.cs (20)
77private List<BranchLabel>? _labels; 924foreach (BranchLabel label in _labels!) 936public BranchLabel MakeLabel() 938_labels ??= new List<BranchLabel>(); 940var label = new BranchLabel(); 950private int EnsureLabelIndex(BranchLabel label) 964BranchLabel handlerLabel = MakeLabel(); 969public void MarkLabel(BranchLabel label) 974public void EmitGoto(BranchLabel label, bool hasResult, bool hasValue, bool labelTargetGetsValue) 979private void EmitBranch(OffsetInstruction instruction, BranchLabel label) 985public void EmitBranch(BranchLabel label) 990public void EmitBranch(BranchLabel label, bool hasResult, bool hasValue) 995public void EmitCoalescingBranch(BranchLabel leftNotNull) 1000public void EmitBranchTrue(BranchLabel elseLabel) 1005public void EmitBranchFalse(BranchLabel elseLabel) 1030public void EmitEnterTryFinally(BranchLabel finallyStartLabel) 1040public EnterTryFaultInstruction EmitEnterTryFault(BranchLabel tryEnd) 1047public void EmitEnterFinally(BranchLabel finallyStartLabel) 1057public void EmitEnterFault(BranchLabel faultStartLabel) 1087public void EmitLeaveExceptionHandler(bool hasValue, BranchLabel tryExpressionEndLabel)
System\Linq\Expressions\Interpreter\LabelInfo.cs (2)
20private BranchLabel? _label; 41internal BranchLabel GetLabel(LightCompiler compiler)
System\Linq\Expressions\Interpreter\LightCompiler.cs (27)
767BranchLabel end = _instructions.MakeLabel(); 795BranchLabel testRight = _instructions.MakeLabel(); 796BranchLabel callMethod = _instructions.MakeLabel(); 838BranchLabel loadDefault = _instructions.MakeLabel(); 1039BranchLabel end = _instructions.MakeLabel(); 1040BranchLabel loadDefault = _instructions.MakeLabel(); 1282BranchLabel notNull = _instructions.MakeLabel(); 1283BranchLabel computed = _instructions.MakeLabel(); 1304BranchLabel notNull = _instructions.MakeLabel(); 1305BranchLabel computed = _instructions.MakeLabel(); 1355BranchLabel labEnd = _instructions.MakeLabel(); 1393BranchLabel computeRight = _instructions.MakeLabel(); 1394BranchLabel returnFalse = _instructions.MakeLabel(); 1395BranchLabel returnNull = _instructions.MakeLabel(); 1396BranchLabel returnValue = _instructions.MakeLabel(); 1473BranchLabel elseLabel = _instructions.MakeLabel(); 1474BranchLabel endLabel = _instructions.MakeLabel(); 1499BranchLabel endOfFalse = _instructions.MakeLabel(); 1506BranchLabel endOfTrue = _instructions.MakeLabel(); 1512BranchLabel endOfFalse = _instructions.MakeLabel(); 1992BranchLabel end = _instructions.MakeLabel(); 1993BranchLabel gotoEnd = _instructions.MakeLabel(); 1996BranchLabel? startOfFinally = null; 2124BranchLabel end = _instructions.MakeLabel(); 2141BranchLabel startOfFault = _instructions.MakeLabel(); 2636BranchLabel leftNotNull = _instructions.MakeLabel(); 2637BranchLabel? end = null;