In NetBeans using Java I can open java.lang.String class and I see that class source code. If I try to open System.String class in VisualStudio I see methods signatures only. Is it possible to install VisualStudio plug-in or something like that to open mscorlib classes source code pressing F12?
Thanks for your answers. I've found the best solution for me: http://visualstudiogallery.msdn.microsoft.com/95789cdb-08f9-4dae-9b2f-fc45a452ad77
What you want is at "Microsoft Reference Source Code Center", with the .NET Library sources at http://referencesource.microsoft.com/.
While the previous answers are good, you have a better option now: Microsoft has open-sourced .NET, and not only that, all of it is available at GitHub.
Also, it's now possible to configure Visual Studio to check referencesource.microsoft.com while debugging.
What you are asking for can be achieved by using dot peek from Jetbrains.
Jetbrains offer some other cool software too, like Resharper which can have dot peek included and you can navigate to the decompiled sources.
You can get the actual source code, not decompiled, from the symbol files which is the option beneath the one I have highlighted, you would need to do what the other answer says by setting up your symbol server.
UPDATE: See Bruno Brants answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With