Method IsDeclaration
IsDeclaration(ISyntaxNode)
When implemented by a class, indicates whether specified node represents declaration elements.
bool IsDeclaration(ISyntaxNode node)
Parameters
node
ISyntaxNodeSpecifies node to check-up.
Returns
- bool
True if specified node represents declaration element; otherwise false.