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