32 references to KeepEndOfLine
Microsoft.CodeAnalysis.CSharp (6)
Syntax\SyntaxNodeRemover.cs (6)
299
else if ((_options & SyntaxRemoveOptions.
KeepEndOfLine
) != 0)
313
else if ((_options & SyntaxRemoveOptions.
KeepEndOfLine
) != 0)
333
else if ((_options & SyntaxRemoveOptions.
KeepEndOfLine
) != 0)
353
else if ((_options & SyntaxRemoveOptions.
KeepEndOfLine
) != 0)
371
else if ((_options & SyntaxRemoveOptions.
KeepEndOfLine
) != 0)
389
else if ((_options & SyntaxRemoveOptions.
KeepEndOfLine
) != 0)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
Syntax\SyntaxNodeTests.cs (11)
2869
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
);
2886
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
);
2902
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
| SyntaxRemoveOptions.KeepDirectives);
2919
var cu2 = cu.RemoveNode(cu, SyntaxRemoveOptions.
KeepEndOfLine
);
2961
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
);
3002
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
);
3046
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
);
3130
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
);
3170
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
);
3213
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
);
3278
var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.
KeepEndOfLine
| SyntaxRemoveOptions.KeepDirectives);
Microsoft.CodeAnalysis.VisualBasic (6)
Syntax\SyntaxNodeRemover.vb (6)
214
ElseIf (Me._options And SyntaxRemoveOptions.
KeepEndOfLine
) <> 0 AndAlso HasEndOfLine(node.GetLeadingTrivia()) Then
224
ElseIf (Me._options And SyntaxRemoveOptions.
KeepEndOfLine
) <> 0 AndAlso HasEndOfLine(node.GetTrailingTrivia()) Then
238
ElseIf (Me._options And SyntaxRemoveOptions.
KeepEndOfLine
) <> 0 AndAlso
251
ElseIf (Me._options And SyntaxRemoveOptions.
KeepEndOfLine
) <> 0 AndAlso HasEndOfLine(node.GetTrailingTrivia()) Then
263
ElseIf (Me._options And SyntaxRemoveOptions.
KeepEndOfLine
) <> 0 AndAlso HasEndOfLine(node.GetLeadingTrivia()) Then
277
ElseIf (Me._options And SyntaxRemoveOptions.
KeepEndOfLine
) <> 0 AndAlso
Microsoft.CodeAnalysis.VisualBasic.Features (2)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (2)
262
Return localDeclaration.RemoveNode(variableDeclarator, SyntaxRemoveOptions.
KeepEndOfLine
)
266
Return localDeclaration.RemoveNode(modifiedIdentifier, SyntaxRemoveOptions.
KeepEndOfLine
)
Microsoft.VisualStudio.LanguageServices.VisualBasic (7)
CodeModel\VisualBasicCodeModelService.vb (7)
1331
Dim newDeclarator = declarator.RemoveNode(node, SyntaxRemoveOptions.
KeepEndOfLine
).WithAdditionalAnnotations(Formatter.Annotation)
1344
Dim newDeclaration = declaration.RemoveNode(node, SyntaxRemoveOptions.
KeepEndOfLine
).WithAdditionalAnnotations(Formatter.Annotation)
1364
Dim newAttributeList = attributeList.RemoveNode(node, SyntaxRemoveOptions.
KeepEndOfLine
)
1372
Dim newArgumentList = argumentList.RemoveNode(node, SyntaxRemoveOptions.
KeepEndOfLine
).WithAdditionalAnnotations(Formatter.Annotation)
1379
Dim newParameterList = parameterList.RemoveNode(node, SyntaxRemoveOptions.
KeepEndOfLine
).WithAdditionalAnnotations(Formatter.Annotation)
4301
Dim newInheritsStatement = inheritsStatement.RemoveNode(inheritsType, SyntaxRemoveOptions.
KeepEndOfLine
)
4373
Dim newImplementsStatement = implementsStatement.RemoveNode(inheritsType, SyntaxRemoveOptions.
KeepEndOfLine
)