Method IsDeclaration
IsDeclaration(ISyntaxNode)
Indicates whether specified node represents declaration elements.
public virtual bool IsDeclaration(ISyntaxNode node)
Parameters
node
ISyntaxNodeSpecifies node to check-up.
Returns
- bool
True if specified node represents declaration element; otherwise false.