Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ReSharper Essentials

You're reading from   ReSharper Essentials Make your Microsoft Visual Studio work smarter with ReSharper.

Arrow left icon
Product type Paperback
Published in Feb 2014
Publisher Packt
ISBN-13 9781849698702
Length 124 pages
Edition Edition
Arrow right icon
Author (1):
Arrow left icon
Lukasz Gasior Lukasz Gasior
Author Profile Icon Lukasz Gasior
Lukasz Gasior
Arrow right icon
View More author details
Toc

Navigating to the library code


So far we have analyzed references between code only inside your own projects. How about analyzing the code of external libraries even if you do not have their source code?

Move your cursor to any method from the external library and press Alt + ` (Navigate to). From the displayed list, select the Sources from Symbol Files option. This option will try to display the code of the selected method based on debug information files (PDB).

If you do not have a PDB file, you can select the Decompiled Sources option.

The following screenshot presents the decompiled Asserts.cs file from NUnit:

As you can see, in code decompiled this way, you can use all the features described in this chapter.

Note

By default, ReSharper will not decompile methods and will only display the method declaration. To enable decompiling methods, you need to navigate to RESHARPER | Options from the Visual Studio toolbar and then navigate to Tools | External Sources from the ReSharper Options window...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image