SyntaxExtensions.GetLeadingAndTrailingTrivia(SyntaxNode) 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 GetLeadingAndTrailingTrivia(this Microsoft.CodeAnalysis.SyntaxNode node)
Parameters
node SyntaxNode