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