Method AncestorsOfKind
AncestorsOfKind<TResult1, TResult2>(SyntaxNode)
Declaration
public static IEnumerable<SyntaxNode> AncestorsOfKind<TResult1, TResult2>(this SyntaxNode node)
Parameters
| Type | Name | Description |
|---|---|---|
| SyntaxNode | node |
Returns
| Type | Description |
|---|---|
| IEnumerable<SyntaxNode> |
Type Parameters
| Name | Description |
|---|---|
| TResult1 | |
| TResult2 |