2 writes to BreakLabel
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
3780this.BreakLabel = breakLabel; 3791this.BreakLabel = breakLabel;
41 references to BreakLabel
Microsoft.CodeAnalysis.CSharp (41)
FlowAnalysis\AbstractFlowPass.cs (4)
2170ResolveBreaks(breakState, node.BreakLabel); 2670ResolveBreaks(breakState, node.BreakLabel); 2684ResolveBreaks(breakState, node.BreakLabel); 3133ResolveBreaks(breakState, node.BreakLabel);
FlowAnalysis\ExitPointsWalker.cs (4)
80_labelsInside.Add(node.BreakLabel); 90_labelsInside.Add(node.BreakLabel); 100_labelsInside.Add(node.BreakLabel); 110_labelsInside.Add(node.BreakLabel);
Generated\BoundNodes.xml.Generated.cs (16)
3841if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 3871if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 3913if (outerLocals != this.OuterLocals || initializer != this.Initializer || innerLocals != this.InnerLocals || condition != this.Condition || increment != this.Increment || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 3964if (enumeratorInfoOpt != this.EnumeratorInfoOpt || elementPlaceholder != this.ElementPlaceholder || elementConversion != this.ElementConversion || iterationVariableType != this.IterationVariableType || iterationVariables != this.IterationVariables || iterationErrorExpressionOpt != this.IterationErrorExpressionOpt || expression != this.Expression || deconstructionOpt != this.DeconstructionOpt || awaitOpt != this.AwaitOpt || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 10976return node.Update(node.Locals, condition, body, node.BreakLabel, node.ContinueLabel); 10982return node.Update(node.Locals, condition, body, node.BreakLabel, node.ContinueLabel); 10990return node.Update(node.OuterLocals, initializer, node.InnerLocals, condition, increment, body, node.BreakLabel, node.ContinueLabel); 11002return node.Update(node.EnumeratorInfoOpt, elementPlaceholder, elementConversion, iterationVariableType, node.IterationVariables, iterationErrorExpressionOpt, expression, deconstructionOpt, awaitOpt, body, node.BreakLabel, node.ContinueLabel); 12940return node.Update(locals, condition, body, node.BreakLabel, node.ContinueLabel); 12948return node.Update(locals, condition, body, node.BreakLabel, node.ContinueLabel); 12959return node.Update(outerLocals, initializer, innerLocals, condition, increment, body, node.BreakLabel, node.ContinueLabel); 12973return node.Update(node.EnumeratorInfoOpt, elementPlaceholder, elementConversion, iterationVariableType, iterationVariables, iterationErrorExpressionOpt, expression, deconstructionOpt, awaitOpt, body, node.BreakLabel, node.ContinueLabel); 15282new TreeDumperNode("breakLabel", node.BreakLabel, null), 15292new TreeDumperNode("breakLabel", node.BreakLabel, null), 15305new TreeDumperNode("breakLabel", node.BreakLabel, null), 15322new TreeDumperNode("breakLabel", node.BreakLabel, null),
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (2)
62new BoundLabelStatement(syntax, node.BreakLabel)); 72new BoundLabelStatement(syntax, node.BreakLabel));
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (4)
195breakLabel: node.BreakLabel, 615breakLabel: node.BreakLabel, 794breakLabel: node.BreakLabel, 937? node.BreakLabel // i.e. the one that break statements will jump to
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (3)
185node.BreakLabel, 238BoundStatement ifNotConditionGotoBreak = new BoundConditionalGoto(rewrittenCondition.Syntax, rewrittenCondition, false, node.BreakLabel); 265statementBuilder.Add(new BoundLabelStatement(syntax, node.BreakLabel));
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (1)
36node.BreakLabel,
Lowering\MethodToClassRewriter.cs (3)
181return node.Update(newOuterLocals, initializer, newInnerLocals, condition, increment, body, node.BreakLabel, node.ContinueLabel); 189return node.Update(newLocals, condition, body, node.BreakLabel, node.ContinueLabel); 197return node.Update(newLocals, condition, body, node.BreakLabel, node.ContinueLabel);
Operations\CSharpOperationFactory.cs (4)
1743ILabelSymbol exitLabel = boundWhileStatement.BreakLabel.GetPublicSymbol(); 1756ILabelSymbol exitLabel = boundDoStatement.BreakLabel.GetPublicSymbol(); 1774ILabelSymbol exitLabel = boundForStatement.BreakLabel.GetPublicSymbol(); 1877ILabelSymbol exitLabel = boundForEachStatement.BreakLabel.GetPublicSymbol();