Method FindDeclarationAsync
FindDeclarationAsync()
When implemented by a class, finds the declaration of the symbol at the current position in async mode.
Task<SymbolLocation> FindDeclarationAsync()
Returns
- Task<SymbolLocation>
Declaration symbol location.
FindDeclarationAsync(Point, bool)
When implemented by a class, finds the declaration of the symbol under the given position in async mode.
Task<SymbolLocation> FindDeclarationAsync(Point position, bool includeNonSource = false)
Parameters
position
PointPosition within the text.
includeNonSource
boolSpecifies that locations should be returned even if it's not in the source files.
Returns
- Task<SymbolLocation>
Declaration symbol location.