The Find Usages Advanced feature enables you to find usages of entities that are somehow related to the selected symbol (for example, derived types, overriding methods etc.) within a specified scope.
- Position the caret at a symbol in the code editor. Alternatively, select the symbol in the File Structure,Object Browser, or elsewhere.
On the main menu, choose
ReSharper | Find | Find Usages Advanced
Find Usages Advanced
in the context menu. The
dialog box appears.
For example, here's how the dialog box looks when you select a class:
When you search for usages of an overriding member in a derived class or an implemented interface member,
the Search Properties dialog box lets you choose
whether to look for usages of the base member or those of the overriding member.
You can then opt to search for both the base and the inheritor by selecting the base member in the Search section and the Overriding... check box in the Find section.
- Select one of five scope options in the Scope section: Solution, Libraries, Solution and libraries, Current project, or Current file. These options are common for any symbols that you might select.
- In the Find section of the Search Properties dialog box, select check boxes to refine your search criteria. Depending on the type of the selected symbol, different check boxes may be available.
- Click Find. Search results will be displayed in the Find Results tool window.