Skip to main content

SyntaxExtensions.GetTrailingSeparator<TNode>(SeparatedSyntaxList<TNode>) Method

Containing Type: SyntaxExtensions

Assembly: Roslynator.Core.dll

Returns the trailing separator, if any.

public static Microsoft.CodeAnalysis.SyntaxToken GetTrailingSeparator<TNode>(this Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> list) where TNode : Microsoft.CodeAnalysis.SyntaxNode

Type Parameters

TNode

Parameters

list SeparatedSyntaxList<TNode>

Returns

SyntaxToken