Beispiel #1
0
 public override int LastIndexOf(TNode node)
 => SyntaxList.LastIndexOf(SyntaxWrapper.Unwrap(node));
Beispiel #2
0
 public static int LastIndexOf <TNode>(this SeparatedSyntaxList <TNode> list, SyntaxKind kind) where TNode : SyntaxNode
 {
     return(list.LastIndexOf(f => f.IsKind(kind)));
 }