Navigation and Search in Compiled Code
A solution is not limited to source code of your projects, it also contains references to libraries that are used in your solution. It is very convenient to have access and opportunity to navigate to symbols from those libraries as if they were a part of your solution. ReSharper provides a built-in decompiler and a lot of features that help you view and navigate through compiled code.
Code presentation of symbols from compiled assemblies depends on on the settings, on the availability of PDB information, and on the applied navigation command.
There are two types of navigation commands that target library symbols:
- Commands that explicitly specify where and how to represent library symbols: Navigate To Object Browser Navigate To Assembly Explorer, Navigate To Decompiled Sources, Navigate To Metadata View, and Navigate To Sources from Symbol Files.
- Commands that may implicitly lead to compiled code when the target symbol is not in the source code within your solution. For example, Go to Declaration, Go to Type of Symbol, Go to Base Symbols, etc.
For the second type of commands, you can specify how ReSharper will represent library symbols. When this kind of navigation is performed for the first time, you will see a dialog, suggesting to choose the default navigation action:
ReSharper also allows you to explore source code of any assembly outside your solution using the Assembly Explorer window. For more information, see Exploring and Decompiling Assemblies.