Programmetically locate Source file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to build some utilities for our internal development. Is there
any way I can programmetically find out the original source file for a given
class? Say I am inspecting a CLR type in our own application and I would
like to know where is the source file defining that type. Which API can I
use? Is there any example?

Thanks
Conrad
 
Conrad,

It sounds for me if you are looking for Ildasm, which is normally in this
place on your computer

"C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\ildasm.exe"

I hope this helps however am not sure?

Cor
 
Back
Top