SyntaxExtensions.LeadingAndTrailingTrivia(SyntaxToken) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.Core.dll
Returns leading and trailing trivia of the specified node in a single list.
public static Microsoft.CodeAnalysis.SyntaxTriviaList LeadingAndTrailingTrivia(this Microsoft.CodeAnalysis.SyntaxToken token)
Parameters
token SyntaxToken