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