ReSharper 8.0 Web Help

If you have a large and complicated solution with hundreds of projects, you probably need a way to see dependencies within the solution. You can use this information to improve the architecture of your application.

ReSharper provides two search features with related functionality:

  • Find Code Dependent on Module lets you find all code symbols from the selected project or assembly reference that are used in the current project.
  • Find Symbols External to Scope lets you find any outgoing references encountered within a certain scope which can be as narrow as a method or as large as a project.

To find dependent code
  1. In Solution Explorer window, select a project or assembly reference.
  2. Do one of the following:
    • On the main menu, choose ReSharper | Find | Find Code Dependent on Module.
    • Right-click the selected item, then click Find Code Dependent on Module on the context menu.

You can investigate dependencies step by step or you can use the Optimize Reference feature to see all dependencies for all references at once. For more information, see Optimizing References.

To find referenced code from solution explorer
  1. Select a file, folder or project.
  2. Do one of the following:
    • On the main menu, choose ReSharper | Find | Find Symbols External to Scope.
    • Right-click the selected item, then click Find Symbols External to Scope on the context menu.
To find referenced code from the editor
  1. Place the caret at a container such as method, class, namespace, etc.
  2. Press Ctrl+Shift+GAlt+~ to display the Navigate to drop-down list.
  3. In the Navigate to drop-down list, click Referenced Code.

Search results for both features are displayed in the Find Results window. If a single usage is found, the caret moves to the corresponding location.
Navigation_and_Search__Finding_Usages__Finding_Dependencies_and_Referenced_Code__Find_Results

See Also

Procedures:

Reference: