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