Method FindReferences
FindReferences(Point, IRangeList, bool)
Locates declaration at given position and finds all references to this declaration in the text.
public override int FindReferences(Point position, IRangeList references, bool allDocuments)
Parameters
positionPointSpecifies position to find declaration.
referencesIRangeListRetrieves references to found declaration.
allDocumentsboolSpecifies if search needs to process all documents in the solution
Returns
- int
Number of found references.