Method FindDeclaration
FindDeclaration(string, Point)
Finds the declaration node at given position.
public override object FindDeclaration(string text, Point position)
Parameters
Returns
- object
Microsoft.CodeAnalysis.ISymbolnode representing declaration.
FindDeclaration(Point, bool)
Finds the declaration node at given position.
public override SymbolLocation FindDeclaration(Point position, bool includeNonSource = false)
Parameters
positionPointSpecifies position to find node.
includeNonSourceboolSpecifies that locations should be returned even if it's not in the source files.