Method FindDeclarationAsync
FindDeclarationAsync(Point, CancellationToken)
When implemented by a class, finds the declaration location at given position.
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.