One of the tools I had in my toolbox was Reflector. This tool is written by Lutz Roeder and allows you to examine a .NET assembly. Through the use of reflection it can display all namespaces, classes, methods, properties, events and fields in the dll.

It is possible to view the code in IL, C#, VB.NET and Delphi. Some of the useful features are the Call and Callee Graph.

The Call Graph shows you which items are used by a given method, while the Callee Graph displays all the methods that call a given method.







Forgot something for blog readers, the url where to get it: http://www.aisto.com/roeder/dotnet/
Filed under: ,

Comments

# re: Reflector

Saturday, February 19, 2005 4:58 PM by X

Is Reflector really using Reflection? To me some of this stuff looks like it can't be done with the System.Reflection namespace?

# re: Reflector

Sunday, February 20, 2005 7:26 AM by David Cumps

I suggest downloading it, and using it on it's own ;) It's a really complex tool which I don't understand everything of it yet. It seems to have everthing possible in .NET coded as an interface in it, probably building up a model of the code found with Reflector, and then when outputting it, applying formatting to it to the language selected in the dropdown.