9 references to GetNextStatement
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
ConvertSwitchStatementToExpressionDiagnosticAnalyzer.Analyzer.cs (2)
42if (shouldRemoveNextStatement && node.GetNextStatement() is StatementSyntax nextStatement) 188return AnalyzeNextStatement(switchStatement.GetNextStatement());
CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
293if (LocalFlowsIn(firstStatement: statement.GetNextStatement(),
CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
259var nextStatement = localStatement.GetNextStatement();
CSharpUseTupleSwapDiagnosticAnalyzer.cs (2)
88var firstAssignmentStatement = localDeclarationStatement.GetNextStatement(); 93var secondAssignmentStatement = firstAssignmentStatement.GetNextStatement();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
ConvertSwitchStatementToExpressionCodeFixProvider.cs (1)
112var nextStatement = switchStatement.GetNextStatement();
ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
233var nextStatement = node.GetNextStatement();
CSharpAsAndNullCheckCodeFixProvider.cs (1)
119localDeclaration.GetNextStatement()!,