Find code dependent on referenced modules
ReSharper | Find | Find Dependent Code
To assign a shortcut, go to Tools | Options | Environment | Keyboard and find the ReSharper_FindDependentCode
command.
You can quickly find how and where symbols from a specific referenced module (referenced project, assembly, or installed NuGet package) are used. In large solutions, this will help you detect architectural problems and reduce coupling.
tip
To get a large scale view of the project relations in your solution, build the project dependency diagram.
In the results of the search, you will see all places in your code where module's types or type members appear.
If you search for code dependent on a referenced module, ReSharper finds usages of the module's symbols in the project where it is referenced. If you search for code dependent on a project, ReSharper finds usages of the project's symbols in the whole solution.
tip
To see all usages of all referenced assemblies in the current project, analyze project references.
Select a project or assembly reference, or a NuGet package in the Dependencies node of a project in the Solution Explorer .
Do one of the following:
From the main menu, choose ReSharper | Find | Find Dependent code.
Right-click the selected item and choose Find Dependent Code in the context menu.
Choose Find Dependent Code (all projects) to find usages of symbols from the module in the entire solution (this could take longer for large solutions).
The search results appear in the Find Results window, where you can further analyze the results.
Filters in the Find Results window will help you quickly find specific kinds of usages:
