Method HasAsParent
HasAsParent(ISyntaxNode)
When implemented by a class, indicates whether the node has specified node as a parent node.
bool HasAsParent(ISyntaxNode node)
Parameters
node
ISyntaxNodeNode to test.
Returns
- bool
True if node or one of its parents has a given node as a parent; otherwise false.