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