View .NET Framework source code
So, you are working with .NET framework objects and you’re curious to see what happens inside a method that’s defined in the framework. How do you do it? Well, with ReSharper, it’s actually quite easy.
To begin with, Ctrl-click the element you want to view (say, MessageBox.Show
). The first time you do it, the following dialog will pop up:
![Selecting default action for navigating to compiled code Selecting default action for navigating to compiled code](https://resources.jetbrains.com/help/img/dotnet/2024.3/select_action_for_compiled_code.png)
If you pick the Go to .NET Framework sources option, ReSharper will attempt to download sources and PDBs for the assemblies related to the class you are interested in:
![ReSharper is downloading sources from symbol server ReSharper is downloading sources from symbol server](https://resources.jetbrains.com/help/img/dotnet/2024.3/cookbook_external_source.png)
Once this is done, you’ll need to accept the EULA, and that’s it – you will be presented with the actual .NET Framework source code:
![ReSharper displays .NET Framework sources from symbol server ReSharper displays .NET Framework sources from symbol server](https://resources.jetbrains.com/help/img/dotnet/2024.3/cookbook_external_source1.png)