ReSharper 2017.2 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 of ReSharper options.

To investigate outgoing calls

  1. Place the caret at the name of a method, event, property or constructor.
  2. In 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 to 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. In 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 to display all members that call the current member. You can also expand each of the child nodes.
    Incoming calls in the Inspection Results window

This feature is supported in the following languages and technologies:

Language: C#
Language: VB.NET
Language: C++
Language: HTML
Language: ASP.NET
Language: Razor
Language: JavaScript
Language: TypeScript
Language: CSS
Language: XML
Language: XAML
Language: Resx
Language: Build Scripts
Language: Protobuf
Language: JSON
Feature is available Feature is available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not 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.

Last modified: 10 November 2017

See Also