The Find Usages Advanced feature enables you to find usages of entities that are somehow related to a selected symbol (for example, derived types, overriding methods etc.) within a specified scope.
- Position the caret at a symbol in the text editor. Alternatively, select the symbol in File Structure, Object Browser, or elsewhere.
- On the main menu, choose ReSharper | Find | Find Usages Advanced.
Alternatively, press Shift+Alt+F7, or choose Find Usages Advanced in the context menu. The Search Properties 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:
TipYou 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.
Search Propertiesfor the complete list of check boxes available for different symbols.
- Click Find. Search results will be displayed in the Find Results tool window.