Method FindDeclarationAsync
FindDeclarationAsync(Point, bool, CancellationToken)
Finds the declaration location at given position.
public override Task<SymbolLocation?> FindDeclarationAsync(Point position, bool includeNonSource = false, CancellationToken cancellationToken = default)
Parameters
position
PointSpecifies position to find.
includeNonSource
boolSpecifies that locations should be returned even if it's not in the source files.
cancellationToken
CancellationTokenCancellation token
Returns
- Task<SymbolLocation>
SymbolLocation
represents location of the declaration.