24 references to ContinueStatementSyntax
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Statements.cs (2)
98result = BindContinue((ContinueStatementSyntax)node, diagnostics); 2910private BoundStatement BindContinue(ContinueStatementSyntax node, BindingDiagnosticBag diagnostics)
Parser\LanguageParser.cs (1)
8926private ContinueStatementSyntax ParseContinueStatement(SyntaxList<AttributeListSyntax> attributes)
Syntax\ContinueStatementSyntax.cs (2)
11public ContinueStatementSyntax Update(SyntaxToken continueKeyword, SyntaxToken semicolonToken) 20public static ContinueStatementSyntax ContinueStatement(SyntaxToken continueKeyword, SyntaxToken semicolonToken)
Syntax\LookupPosition.cs (2)
323return ((ContinueStatementSyntax)statement).ContinueKeyword; 385return ((ContinueStatementSyntax)statement).SemicolonToken;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
248if (nextStatement is BreakStatementSyntax or ContinueStatementSyntax)
Microsoft.CodeAnalysis.CSharp.Features (5)
ExtractMethod\CSharpMethodExtractor.Analyzer.cs (1)
45continueStatementCount: controlFlowAnalysis.ExitPoints.Count(n => n is ContinueStatementSyntax),
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
450else if (current is ContinueStatementSyntax continueStatement)
ExtractMethod\CSharpSelectionResult.cs (1)
134=> exitPoints.Any(n => n is not (BreakStatementSyntax or ContinueStatementSyntax or ReturnStatementSyntax));
Highlighting\KeywordHighlighters\LoopHighlighter.cs (1)
88else if (highlightContinues && node is ContinueStatementSyntax continueStatement)
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
248if (nextStatement is BreakStatementSyntax or ContinueStatementSyntax)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (4)
IOperation\IOperationTests_IBranchOperation.Extensions.cs (3)
70AssertOuterIsCorrespondingLoopOfInner<WhileStatementSyntax, ContinueStatementSyntax>(@" 88AssertOuterIsCorrespondingLoopOfInner<DoStatementSyntax, ContinueStatementSyntax>(@" 303AssertOuterIsCorrespondingLoopOfInner<ForStatementSyntax, ContinueStatementSyntax>(@"
IOperation\IOperationTests_InvalidStatement.cs (1)
500VerifyOperationTreeAndDiagnosticsForTest<ContinueStatementSyntax>(source, expectedOperationTree, expectedDiagnostics);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
Generated\Syntax.Test.xml.Generated.cs (5)
10595private static ContinueStatementSyntax GenerateContinueStatement() 12412var node = GenerateContinueStatement(); 12417var newNode = node.WithAttributeLists(node.AttributeLists).WithContinueKeyword(node.ContinueKeyword).WithSemicolonToken(node.SemicolonToken); 17271var oldNode = GenerateContinueStatement(); 17287var oldNode = GenerateContinueStatement();
Parsing\StatementParsingTests.cs (2)
1016var cs = (ContinueStatementSyntax)statement;