3

In Visual Studio, I can press F12 on a standard class to view its declaration, for example the Stream class, and Visual Studio will show it in a tab titled "Stream [from metadata]":

enter image description here

Is there a standalone object browser that offers the equivalent functionality?

If possible, it should be free, and lightweight (1-2mb installation). I won't to be able to use it when coding in the Snippy tool from Jon Skeet, without firing VS just to look up a declaration.

3
  • 2
    Perhaps ilspy?
    – Alex K.
    Jul 29, 2016 at 12:25
  • @AlexK. Thanks! That's exactly what I was looking for.
    – sashoalm
    Jul 29, 2016 at 12:31
  • @AlexK. Looks like you should post that as an answer.
    – svick
    Jul 30, 2016 at 19:00

2 Answers 2

2

As Alex K mentioned in the comments above. ILSpy is a good choice in this case. enter image description here

2

I'm using Jetbrains dotPeek. It's free and meanwhile has more features than ILSpy, it can e.g. make use of PDB files and Microsoft source servers and is extensible via plugins.

dotPeek showing FileSystemWatcher

2
  • 1
    Thanks. I'll just add that the installer was extremely heavy - first it downloaded another bigger installer and took its time for it, and then it offered me many products I wasn't interested in. Then it started "pulling packages" and again took a lot of time. I felt like I was installing Eclipse, instead of a lightweight standalone tool. Compared to that ILSpy was just a 2 mb zip file containing everything you need.
    – sashoalm
    Aug 3, 2016 at 11:00
  • @sashoalm: you're right. I still had version 1.5. It seems the new version is part of a larger installer :-( Aug 3, 2016 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.