23 references to KeepEndOfLine
Microsoft.CodeAnalysis.CSharp (6)
Syntax\SyntaxNodeRemover.cs (6)
299else if ((_options & SyntaxRemoveOptions.KeepEndOfLine) != 0) 313else if ((_options & SyntaxRemoveOptions.KeepEndOfLine) != 0) 333else if ((_options & SyntaxRemoveOptions.KeepEndOfLine) != 0) 353else if ((_options & SyntaxRemoveOptions.KeepEndOfLine) != 0) 371else if ((_options & SyntaxRemoveOptions.KeepEndOfLine) != 0) 389else if ((_options & SyntaxRemoveOptions.KeepEndOfLine) != 0)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
Syntax\SyntaxNodeTests.cs (11)
2981var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 2998var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3014var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine | SyntaxRemoveOptions.KeepDirectives); 3031var cu2 = cu.RemoveNode(cu, SyntaxRemoveOptions.KeepEndOfLine); 3073var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3114var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3158var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3242var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3282var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3325var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3390var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine | SyntaxRemoveOptions.KeepDirectives);
Microsoft.CodeAnalysis.VisualBasic (6)
Syntax\SyntaxNodeRemover.vb (6)
209ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso HasEndOfLine(node.GetLeadingTrivia()) Then 219ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso HasEndOfLine(node.GetTrailingTrivia()) Then 233ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso 246ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso HasEndOfLine(node.GetTrailingTrivia()) Then 258ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso HasEndOfLine(node.GetLeadingTrivia()) Then 272ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso