32 references to GeneratedLabelSymbol
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder_Patterns.cs (2)
54
LabelSymbol whenTrueLabel = new
GeneratedLabelSymbol
("isPatternSuccess");
55
LabelSymbol whenFalseLabel = new
GeneratedLabelSymbol
("isPatternFailure");
Binder\LoopBinderContext.cs (2)
21
_breakLabel = new
GeneratedLabelSymbol
("break");
22
_continueLabel = new
GeneratedLabelSymbol
("continue");
Binder\SwitchBinder.cs (1)
32
_breakLabel = new
GeneratedLabelSymbol
("break");
Binder\SwitchExpressionArmBinder.cs (1)
47
var label = new
GeneratedLabelSymbol
("arm");
Binder\SwitchExpressionBinder.cs (1)
62
defaultLabel = new
GeneratedLabelSymbol
("default");
BoundTree\BoundSwitchExpression.cs (1)
26
defaultLabel ??= new
GeneratedLabelSymbol
("default"),
BoundTree\LengthBasedStringSwitchData.cs (2)
198
var charJumpTable = new CharJumpTable(label: new
GeneratedLabelSymbol
("char-dispatch"), bestCharacterPosition, charCaseLabels.ToImmutableAndFree());
256
var stringJumpTable = new StringJumpTable(label: new
GeneratedLabelSymbol
("string-dispatch"), cases.SelectAsArray(c => (c.value, c.label)));
CodeGen\EmitStatement.cs (1)
2013
clone = new
GeneratedLabelSymbol
("cloned_" + label.Name);
Compiler\MethodBodySynthesizer.cs (1)
425
GeneratedLabelSymbol loopLabel = new
GeneratedLabelSymbol
("loop");
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
975
proxy = new
GeneratedLabelSymbol
("proxy" + label.Name);
999
this.returnProxyLabel = returnProxy = new
GeneratedLabelSymbol
("returnProxy");
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.IteratorFinallyFrame.cs (1)
115
proxy = new
GeneratedLabelSymbol
("proxy" + label.Name);
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
1349
var breakLabel = new
GeneratedLabelSymbol
("break");
1350
var continueLabel = new
GeneratedLabelSymbol
("continue");
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (1)
22
var startLabel = new
GeneratedLabelSymbol
("start");
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (2)
1163
: new
GeneratedLabelSymbol
("break"); // Should not affect emitted code since unused
1192
continueLabelInner = new
GeneratedLabelSymbol
("continue"); // Should not affect emitted code since unused
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (3)
80
var startLabel = new
GeneratedLabelSymbol
("start");
99
var endLabel = new
GeneratedLabelSymbol
("end");
224
var startLabel = new
GeneratedLabelSymbol
("start");
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (3)
42
var afterif = new
GeneratedLabelSymbol
("afterif");
76
var alt = new
GeneratedLabelSymbol
("alternative");
125
var afterif = new
GeneratedLabelSymbol
("afterif");
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (1)
66
var startLabel = new
GeneratedLabelSymbol
("start");
Lowering\SyntheticBoundNodeFactory.cs (5)
211
return new
GeneratedLabelSymbol
(prefix);
940
var afterif = new
GeneratedLabelSymbol
("afterif");
944
var alt = new
GeneratedLabelSymbol
("alternative");
1074
GeneratedLabelSymbol breakLabel = new
GeneratedLabelSymbol
("break");
1081
LabelSymbol sectionLabel = new
GeneratedLabelSymbol
("case " + section.Values[0]);