SyntaxExtensions.RemoveWhitespace<TNode>(TNode, TextSpan?) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Creates a new node with the whitespace removed.
public static TNode RemoveWhitespace<TNode>(this TNode node, Microsoft.CodeAnalysis.Text.TextSpan? span = null) where TNode : Microsoft.CodeAnalysis.SyntaxNode
Type Parameters
TNode
Parameters
node TNode
span TextSpan?
Returns
TNode