4 references to WithoutLeadingBlankLines
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
StatementSyntaxExtensions.cs (1)
14
=> statement.WithLeadingTrivia(statement.GetLeadingTrivia().
WithoutLeadingBlankLines
());
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
CSharpRemoveUnnecessaryImportsService.Rewriter.cs (1)
116
currentUsings[i] = currentUsing.WithLeadingTrivia(currentUsingLeadingTrivia.
WithoutLeadingBlankLines
());
CSharpUseCollectionInitializerCodeFixProvider.cs (1)
69
var newTrivia = i == 0 ? trivia.
WithoutLeadingBlankLines
() : trivia;
CSharpUseObjectInitializerCodeFixProvider.cs (1)
65
var newTrivia = i == 0 ? trivia.
WithoutLeadingBlankLines
() : trivia;