Method FindDeclaration
FindDeclaration(Point)
Finds the declaration node at given position.
public virtual SymbolLocation FindDeclaration(Point position)
Parameters
position
PointSpecifies position to find a declaration.
Returns
- SymbolLocation
SymbolLocation
object that is found.
FindDeclaration(string, Point)
Finds the declaration node at given position.
public virtual object FindDeclaration(string text, Point position)
Parameters
Returns
- object
ISyntaxNode
node representing declaration.