SyntaxExtensions.WithoutTrivia(SyntaxNodeOrToken) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.Core.dll
Creates a new SyntaxNodeOrToken from this node without leading and trailing trivia.
public static Microsoft.CodeAnalysis.SyntaxNodeOrToken WithoutTrivia(this Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken)
Parameters
nodeOrToken SyntaxNodeOrToken