2 references to StatementNeedsWrapping
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementDiagnosticAnalyzer.cs (1)
73
if (!
StatementNeedsWrapping
(statement))
src\Analyzers\CSharp\CodeFixes\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementCodeFixProvider.cs (1)
79
var badStatements = descendentStatements.Where(s => EmbeddedStatementPlacementDiagnosticAnalyzer.
StatementNeedsWrapping
(s));