How to inspect a MethodSpec signature without code

So much time has passed since the last time I wrote here. It’s not that I did not have anything to write, but it probably was not important enough to me. I hope that I will continue writing more often.

This time I will write something short that may help some people.

Why do you ever need it and why without code?

For the first part, I can think of various reasons, but I’m sure that if you read it, you know why you need it. Still, I will write two reasons why you might need it. One is for learning purposes and two, for writing these signatures yourself if is part of your work project.

For the second part, I find it easier to have a UI tool for debugging sessions when you want to understand what signatures look like, instead of using libraries like dnlib to do that. But, if you prefer the code way, it’s ok.

But first, let’s start with some background.

Continue reading
Posted in .NET, Internals | Tagged , , , , | Leave a comment