SyntaxExtensions.IsLast Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.Core.dll
Overloads
Method | Summary |
---|---|
IsLast<TNode>(SeparatedSyntaxList<TNode>, TNode) | Returns true if the specified node is a last node in the list. |
IsLast<TNode>(SyntaxList<TNode>, TNode) | Returns true if the specified node is a last node in the list. |
IsLast<TNode>(SeparatedSyntaxList<TNode>, TNode)
Returns true if the specified node is a last node in the list.
public static bool IsLast<TNode>(this Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> list, TNode node) where TNode : Microsoft.CodeAnalysis.SyntaxNode
Type Parameters
TNode
Parameters
list SeparatedSyntaxList<TNode>
node TNode
Returns
IsLast<TNode>(SyntaxList<TNode>, TNode)
Returns true if the specified node is a last node in the list.
public static bool IsLast<TNode>(this Microsoft.CodeAnalysis.SyntaxList<TNode> list, TNode node) where TNode : Microsoft.CodeAnalysis.SyntaxNode
Type Parameters
TNode
Parameters
list SyntaxList<TNode>
node TNode