Enum SyntaxRemoveOptions
The option flags for the RemoveNode(s) methods.
Namespace: Loretta.CodeAnalysis
Assembly: Loretta.CodeAnalysis.dll
Syntax
public enum SyntaxRemoveOptions
Fields
Name | Description |
---|---|
AddElasticMarker | Adds elastic marker trivia |
KeepDirectives | All directives are kept |
KeepEndOfLine | Ensure that at least one EndOfLine trivia is kept if one was present |
KeepExteriorTrivia | The leading and trailing trivia associated with the node or token is kept. |
KeepLeadingTrivia | The leading trivia associated with the node or token is kept. |
KeepNoTrivia | None of the trivia associated with the node or token is kept. |
KeepTrailingTrivia | The trailing trivia associated with the node or token is kept. |
KeepUnbalancedDirectives | Any directives that would become unbalanced are kept. |