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)
174return 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(); 1374BranchLabel computeRight = _instructions.MakeLabel(); 1375BranchLabel returnFalse = _instructions.MakeLabel(); 1376BranchLabel returnNull = _instructions.MakeLabel(); 1377BranchLabel returnValue = _instructions.MakeLabel(); 1454BranchLabel elseLabel = _instructions.MakeLabel(); 1455BranchLabel endLabel = _instructions.MakeLabel(); 1480BranchLabel endOfFalse = _instructions.MakeLabel(); 1487BranchLabel endOfTrue = _instructions.MakeLabel(); 1493BranchLabel endOfFalse = _instructions.MakeLabel(); 1973BranchLabel end = _instructions.MakeLabel(); 1974BranchLabel gotoEnd = _instructions.MakeLabel(); 1977BranchLabel? startOfFinally = null; 2105BranchLabel end = _instructions.MakeLabel(); 2122BranchLabel startOfFault = _instructions.MakeLabel(); 2617BranchLabel leftNotNull = _instructions.MakeLabel(); 2618BranchLabel? end = null;