TxRef - .NET Oject Model Review Tool


TxRef is a command line tool that generates a "C# header file" view of an assembly useful for performing Object Model reviews. 

Usage:
	TxRef assemblyName.dll > output.cs

Usage note: One common way we use this tool as part of API reviews at Microsoft is to open output.cs in Visual Studio, copy and paste the contents into Word, and then use Word revision marks and commenting features to provide feedback on the API. 


Note: This tool requires features of .NET Framework 2.0

Project: This project includes all the source code necessary to build an customize the tool for your needs. The run command is wired up to run the tool on MSCorLib.dll merely as an example (and a useful test case when modifying the tool). 

Readme.htm - This page

TxRef.cs - Definition of the driver program that parses command line arguments, etc.

TypeWriter.cs -The real meat of the program. This is the code that turns reflection elements (Type, MethodInfo, etc) into C# syntax.

Output.cs - This is an example output file, not part of the solution. It will refresh each time you run the program. Also, notice that it does not compile; it is simply the "header file" syntax useful for API reviews.