Method HasAsParent
HasAsParent(ISyntaxNode)
Indicates whether the node has specified node as a parent node.
public virtual 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.