Method FindDeclaration
FindDeclaration()
When implemented by a class, finds the declaration of the symbol at the current position.
SymbolLocation FindDeclaration()
Returns
- SymbolLocation
Declaration symbol location.
FindDeclaration(Point, bool)
When implemented by a class, finds the declaration of the symbol under the given position.
SymbolLocation FindDeclaration(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
- SymbolLocation
Declaration symbol location.