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)
2907var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 2924var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 2940var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine | SyntaxRemoveOptions.KeepDirectives); 2957var cu2 = cu.RemoveNode(cu, SyntaxRemoveOptions.KeepEndOfLine); 2999var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3040var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3084var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3168var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3208var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3251var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3316var 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