ReSharper 2020.2 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 ThemedIcon SearchResults Screen Gray png, 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 ThemedIcon TypeLayoutAlt Screen Gray png.

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 .NETFeature is not available in C++Feature is not available in HTMLFeature is not available in ASP.NETFeature is not available in RazorFeature is not available in JavaScriptFeature is not available in TypeScriptFeature is not available in CSSFeature is not available in XMLFeature is not available in XAMLFeature is not available in Resource filesFeature is not available in build script filesFeature is not available in ProtobufFeature 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: 21 August 2020