ReSharper 2019.3 Help

Find Code Dependent on Referenced Modules

ReSharper | Find | Find Dependent Code
ReSharper_FindDependentCode

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.

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.

To find code dependent on module

  1. Select a project or an assembly reference or a NuGet package in the References node of a project in the Solution Explorer.

  2. Do one of the following:

    • In 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.

  3. 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:

ReSharper: Finding code depending on project or assembly
Last modified: 20 February 2020