ReSharper 2021.1 Help

Navigate To Exposing APIs

ReSharper | Navigate | Navigate To | Exposing APIs
Control+Shift+G | Exposing APIs
ReSharper_ExposingApiesNavigation

This command allows you to navigate from a type to all places in the solution and referenced assemblies where you can get an instance of this type: public fields and properties, method return values, out parameters, and so on. The command becomes available when you invoke Navigate To on a declaration or a usage of any type from the solution and referenced assemblies or any library type. You can invoke this command from the Solution Explorer, from the File Structure window and other tool windows.

ReSharper: Navigating to exposing APIs of a symbol

If the command returns a single result, ReSharper navigates directly there. In case of multiple results, they will be listed in a drop-down where you can do one of the following:

  • Click the desired item to open it in the editor.

  • Select the desired item by pressing Up and Down and then press Enter to open it in the editor.

  • Start typing to filter results. Note that you can use CamelHumps here. If necessary, press Esc once to clear the filtering.

  • To view and analyze the list of matched items in the Find Results window, click Show in Find Results Themed icon search results screen gray, press Shift+Enter or + on the numeric keypad.

  • To show the matched items on the type dependency diagram, press Alt+Num+ or click Show on Diagram Themed icon type layout alt screen gray.

This feature is supported in the following languages and technologies:

Language: C#Language: VB.NETLanguage: C++Language: HTMLLanguage: ASP.NETLanguage: RazorLanguage: JavaScriptLanguage: TypeScriptLanguage: CSSLanguage: XMLLanguage: XAMLLanguage: ResxLanguage: Build ScriptsLanguage: ProtobufLanguage: JSON
Feature is available in C#Feature is available in Visual Basic .NET Feature is not available in C++ Feature is not available in HTML Feature is not available in ASP.NET Feature is not available in Razor Feature is not available in JavaScript Feature is not available in TypeScript Feature is not available in CSS Feature is not available in XML Feature is not available in XAML Feature is not available in Resource files Feature is not available in build script files Feature is not available in Protobuf Feature is not available in JSON

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: 08 March 2021