22 references to GenerateLabel
Microsoft.CodeAnalysis.CSharp (22)
Compiler\MethodBodySynthesizer.Lowered.cs (4)
58LabelSymbol again = F.GenerateLabel("again"); 59LabelSymbol start = F.GenerateLabel("start"); 156LabelSymbol again = F.GenerateLabel("again"); 157LabelSymbol start = F.GenerateLabel("start");
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
188var finallyLabel = _F.GenerateLabel("finallyLabel"); 486var handledLabel = _F.GenerateLabel("handled");
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (2)
72_exprReturnLabelTrue = F.GenerateLabel("yieldReturn"); 371var finallyEntry = F.GenerateLabel("finallyEntry");
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
87_exprReturnLabel = F.GenerateLabel("exprReturn"); 88_exitLabel = F.GenerateLabel("exitLabel");
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (3)
262var breakLabel = F.GenerateLabel("break"); 300_exitLabel = this.F.GenerateLabel("exitLabel"); 436var dropThrough = F.GenerateLabel("dropThrough");
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (4)
115_dagNodeLabels.Add(dag, label = dag is BoundLeafDecisionDagNode d ? d.Label : _factory.GenerateLabel("dagNode")); 693LabelSymbol falseLabel = _factory.GenerateLabel("relationalDispatch"); 838var gt = _factory.GenerateLabel("greaterThanMidpoint"); 1019labelToWhenExpression = _factory.GenerateLabel("sharedWhenExpression");
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
121LabelSymbol afterIsPatternExpression = _factory.GenerateLabel("afterIsPatternExpression");
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
90LabelSymbol afterSwitchExpression = _factory.GenerateLabel("afterSwitchExpression");
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
236resumeLabel = F.GenerateLabel("stateMachine"); 886dispatchLabel = F.GenerateLabel("tryDispatch");
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
431var thisInitialized = F.GenerateLabel("thisInitialized");