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)
71_exprReturnLabelTrue = F.GenerateLabel("yieldReturn"); 344var finallyEntry = F.GenerateLabel("finallyEntry");
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
85_exprReturnLabel = F.GenerateLabel("exprReturn"); 86_exitLabel = F.GenerateLabel("exitLabel");
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (3)
256var breakLabel = F.GenerateLabel("break"); 294_exitLabel = this.F.GenerateLabel("exitLabel"); 430var 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)
231resumeLabel = F.GenerateLabel("stateMachine"); 868dispatchLabel = F.GenerateLabel("tryDispatch");
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
427var thisInitialized = F.GenerateLabel("thisInitialized");