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