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