Method GetNodeAt
GetNodeAt(Point)
When implemented by a class, gets SyntaxNode that corresponds to the specified position.
SyntaxNode GetNodeAt(Point position)
Parameters
positionPointPosition to find node.
Returns
- SyntaxNode
SyntaxNodeat specified position.
GetNodeAt(int)
implemented by a class, gets Microsoft.CodeAnalysis.SyntaxNode at specified line.
SyntaxNode GetNodeAt(int line)
Parameters
lineintLine to find node.
Returns
- SyntaxNode
Microsoft.CodeAnalysis.SyntaxNodeat specified line.