32 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)
2846var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 2863var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 2879var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine | SyntaxRemoveOptions.KeepDirectives); 2896var cu2 = cu.RemoveNode(cu, SyntaxRemoveOptions.KeepEndOfLine); 2938var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 2979var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3023var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3107var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3147var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3190var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine); 3255var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine | SyntaxRemoveOptions.KeepDirectives);
Microsoft.CodeAnalysis.VisualBasic (6)
Syntax\SyntaxNodeRemover.vb (6)
214ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso HasEndOfLine(node.GetLeadingTrivia()) Then 224ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso HasEndOfLine(node.GetTrailingTrivia()) Then 238ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso 251ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso HasEndOfLine(node.GetTrailingTrivia()) Then 263ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso HasEndOfLine(node.GetLeadingTrivia()) Then 277ElseIf (Me._options And SyntaxRemoveOptions.KeepEndOfLine) <> 0 AndAlso
Microsoft.CodeAnalysis.VisualBasic.Features (2)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (2)
262Return localDeclaration.RemoveNode(variableDeclarator, SyntaxRemoveOptions.KeepEndOfLine) 266Return localDeclaration.RemoveNode(modifiedIdentifier, SyntaxRemoveOptions.KeepEndOfLine)
Microsoft.VisualStudio.LanguageServices.VisualBasic (7)
CodeModel\VisualBasicCodeModelService.vb (7)
1331Dim newDeclarator = declarator.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine).WithAdditionalAnnotations(Formatter.Annotation) 1344Dim newDeclaration = declaration.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine).WithAdditionalAnnotations(Formatter.Annotation) 1364Dim newAttributeList = attributeList.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine) 1372Dim newArgumentList = argumentList.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine).WithAdditionalAnnotations(Formatter.Annotation) 1379Dim newParameterList = parameterList.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine).WithAdditionalAnnotations(Formatter.Annotation) 4301Dim newInheritsStatement = inheritsStatement.RemoveNode(inheritsType, SyntaxRemoveOptions.KeepEndOfLine) 4373Dim newImplementsStatement = implementsStatement.RemoveNode(inheritsType, SyntaxRemoveOptions.KeepEndOfLine)