
252
|
Chapter 7, Help and Research
#64 Examine the Innards of Assemblies
HACK
a new ArrayList instance), and works with the ArrayList’s _items, _size,
and
_version private member variables.
The callee graph is the inverse of the call graph. It shows those members
that call the selected item. For example, the ArrayList’s
Clone( ) method’s
callee graph shows that the
System.NET.SocketPermission class’s Copy( )
method and the System.Xml.XPath.XsltFunction class’s Clone( ) members,
among others, call the
ArrayList’s Clone( ) method.
Reflector’s functionality can be further extended through the use of add-ins.
There are add-ins for displaying assembly dependency graphs, for automati-
cally loading the currently running assembly, for outputting the disassem-
bled contents of an entire assembly, and for hosting Reflector within Visual
Studio. These add-ins, and more, are listed at http://www.freewebs.com/
csharp/Reflector/AddIns and are all worth checking out.
Using Reflector Within Visual Studio
Of particular interest is the Reflector.VisualStudio Add-In. This add-in, cre-
ated by Jaime Cansdale, allows for Reflector to be hosted within Visual Stu-
dio. With this add-in, you can have Reflector integrated within the Visual
Figure 7-25. Call Graph shows members called by selected item