Method FindReferencesAsync
FindReferencesAsync(Point, IRangeList, bool, CancellationToken)
Locates declaration at given position and finds all references to this declaration in the text.
public override Task<int> FindReferencesAsync(Point position, IRangeList references, bool allDocuments, CancellationToken cancellationToken = default)
Parameters
position
PointSpecifies position to find declaration.
references
IRangeListRetrieves references to found declaration.
allDocuments
boolSpecifies if search needs to process all documents in the solution
cancellationToken
CancellationTokenCancellation token