77 references to BreakStatement
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (1)
94
case SyntaxKind.
BreakStatement
:
Syntax\LookupPosition.cs (2)
317
case SyntaxKind.
BreakStatement
:
379
case SyntaxKind.
BreakStatement
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionDiagnosticAnalyzer.Analyzer.cs (1)
224
case 2 when section.Statements[1].IsKind(SyntaxKind.
BreakStatement
) || section.Statements[0].IsKind(SyntaxKind.SwitchStatement):
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
208
Debug.Assert(!statements[0].IsKind(SyntaxKind.
BreakStatement
));
Microsoft.CodeAnalysis.CSharp.Features (8)
ConvertIfToSwitch\CSharpConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (1)
32
=> !operation.SemanticModel.AnalyzeControlFlow(operation.Syntax).ExitPoints.Any(static n => n.IsKind(SyntaxKind.
BreakStatement
));
Debugging\CSharpProximityExpressionsService.Worker.cs (1)
240
case SyntaxKind.
BreakStatement
:
EditAndContinue\BreakpointSpans.cs (1)
752
case SyntaxKind.
BreakStatement
:
EditAndContinue\SyntaxComparer.cs (1)
354
case SyntaxKind.
BreakStatement
:
InvertIf\CSharpInvertIfCodeRefactoringProvider.cs (2)
97
=> SyntaxKind.
BreakStatement
,
111
SyntaxKind.
BreakStatement
=> BreakStatement(),
src\Analyzers\CSharp\Analyzers\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionDiagnosticAnalyzer.Analyzer.cs (1)
224
case 2 when section.Statements[1].IsKind(SyntaxKind.
BreakStatement
) || section.Statements[0].IsKind(SyntaxKind.SwitchStatement):
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
208
Debug.Assert(!statements[0].IsKind(SyntaxKind.
BreakStatement
));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (63)
Parsing\DeconstructionTests.cs (2)
2845
N(SyntaxKind.
BreakStatement
);
2910
N(SyntaxKind.
BreakStatement
);
Parsing\ExpressionParsingTests.cs (3)
3986
N(SyntaxKind.
BreakStatement
);
4652
N(SyntaxKind.
BreakStatement
);
4881
N(SyntaxKind.
BreakStatement
);
Parsing\FunctionPointerTests.cs (1)
2651
N(SyntaxKind.
BreakStatement
);
Parsing\NullableParsingTests.cs (5)
726
N(SyntaxKind.
BreakStatement
);
794
N(SyntaxKind.
BreakStatement
);
881
N(SyntaxKind.
BreakStatement
);
941
N(SyntaxKind.
BreakStatement
);
1012
N(SyntaxKind.
BreakStatement
);
Parsing\PatternParsingTests.cs (35)
920
N(SyntaxKind.
BreakStatement
);
1036
N(SyntaxKind.
BreakStatement
);
1495
N(SyntaxKind.
BreakStatement
);
1562
N(SyntaxKind.
BreakStatement
);
2801
N(SyntaxKind.
BreakStatement
);
2837
N(SyntaxKind.
BreakStatement
);
2918
N(SyntaxKind.
BreakStatement
);
2969
N(SyntaxKind.
BreakStatement
);
3930
N(SyntaxKind.
BreakStatement
);
4003
N(SyntaxKind.
BreakStatement
);
4074
N(SyntaxKind.
BreakStatement
);
4147
N(SyntaxKind.
BreakStatement
);
4234
N(SyntaxKind.
BreakStatement
);
4323
N(SyntaxKind.
BreakStatement
);
5510
N(SyntaxKind.
BreakStatement
);
5546
N(SyntaxKind.
BreakStatement
);
5593
N(SyntaxKind.
BreakStatement
);
6607
N(SyntaxKind.
BreakStatement
);
6633
N(SyntaxKind.
BreakStatement
);
6659
N(SyntaxKind.
BreakStatement
);
6685
N(SyntaxKind.
BreakStatement
);
7182
N(SyntaxKind.
BreakStatement
);
7244
N(SyntaxKind.
BreakStatement
);
7309
N(SyntaxKind.
BreakStatement
);
7366
N(SyntaxKind.
BreakStatement
);
7431
N(SyntaxKind.
BreakStatement
);
11290
N(SyntaxKind.
BreakStatement
);
11344
N(SyntaxKind.
BreakStatement
);
11778
N(SyntaxKind.
BreakStatement
);
12204
N(SyntaxKind.
BreakStatement
);
12309
N(SyntaxKind.
BreakStatement
);
12405
N(SyntaxKind.
BreakStatement
);
12510
N(SyntaxKind.
BreakStatement
);
12625
N(SyntaxKind.
BreakStatement
);
12681
N(SyntaxKind.
BreakStatement
);
Parsing\StatementAttributeParsingTests.cs (1)
381
N(SyntaxKind.
BreakStatement
);
Parsing\StatementParsingTests.cs (16)
993
Assert.Equal(SyntaxKind.
BreakStatement
, statement.Kind());
4395
N(SyntaxKind.
BreakStatement
);
4559
N(SyntaxKind.
BreakStatement
);
4750
N(SyntaxKind.
BreakStatement
);
4878
N(SyntaxKind.
BreakStatement
);
5005
N(SyntaxKind.
BreakStatement
);
5160
N(SyntaxKind.
BreakStatement
);
5221
N(SyntaxKind.
BreakStatement
);
5298
N(SyntaxKind.
BreakStatement
);
5391
N(SyntaxKind.
BreakStatement
);
5528
N(SyntaxKind.
BreakStatement
);
5590
N(SyntaxKind.
BreakStatement
);
5656
N(SyntaxKind.
BreakStatement
);
5726
N(SyntaxKind.
BreakStatement
);
5801
N(SyntaxKind.
BreakStatement
);
5985
N(SyntaxKind.
BreakStatement
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\ClassificationHelpers.cs (1)
109
case SyntaxKind.
BreakStatement
: