ReSharper Help

Call Tracking

ReSharper | Inspect | Incoming/Outgoing Calls%
ReSharper_CallHierarchyShowIncomingCalls / ReSharper_CallHierarchyShowIncomingCalls

Call Tracking enables you to view and navigate through call chains in your code. ReSharper Call Tracking is a substantial improvement over Visual Studio native Call Hierarchy, thanks to support for events, interfaces, and closures.

In the hierarchy view, ReSharper uses icons to distinguish between different kinds of symbols. You can learn meanings of the icons on the Symbol Icons Schemes reference page. If necessary, you can switch between icon sets in the using the Source code symbol icons theme radio buttons on the Environment | General page or ReSharper options%.

To investigate outgoing calls

  1. Place the caret at the name of a method, event, property or constructor.
  2. On the main menu, choose ReSharper | Inspect | Outgoing Calls or press Ctrl+Shift+Alt+A and choose Outgoing Calls in the Inspect This drop-down list.
  3. In the Inspection Results window that opens, you can expand the member node to run code analysis on it and display all members called by the current member. You can also expand each of the child nodes.
    Outgoing calls in the Inspection Results window

To investigate incoming calls

  1. Place the caret at the name of a method, event, property or constructor.
  2. On the main menu, choose ReSharper | Inspect | Incoming Calls or press Ctrl+Shift+Alt+A and choose Incoming Calls in the Inspect This drop-down list.
  3. In the Inspection Results window that opens, you can expand the member node to run code analysis and display all members that call the current member. You can also expand each of the child nodes.
    Outgoing calls in the Inspection Results window

This feature is supported in the following languages/technologies:

C# VB.NET C++ HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_availablefeature_available

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by Language section.

See Also

Last modified: 30 June 2015