Method FindDeclarationAsync
FindDeclarationAsync(Point, CancellationToken)
Finds the declaration location at given position.
public virtual Task<SymbolLocation> FindDeclarationAsync(Point position, CancellationToken cancellationToken = default)
Parameters
position
PointSpecifies position to find.
cancellationToken
CancellationTokenCancellation token
Returns
- Task<SymbolLocation>
SymbolLocation
represents location of the declaration.