JetBrains Rider 2024.2 Help

Find code dependent on referenced modules

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.

Find code dependent on module

  1. Select a project or assembly reference, or a NuGet package in the Dependencies node of a project in the Solution Explorer or select one of the installed packages in the NuGet window.

  2. Do one of the following:

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

  3. The search results appear in the Find window, where you can further analyze the results.

JetBrains Rider: Finding code depending on project or assembly
Last modified: 23 September 2024