Accessing IL code using System.Reflection

  • Thread starter Thread starter Testing1000
  • Start date Start date
T

Testing1000

Hello,

Is there away in .Net to view an assemblies IL code after
I get the Assembly object via call to Assembly.LoadFrom
(assemblyName). I don't want to use utilities like
Reflector for this type of development. I am using
Framework 1.1.

Please help.
 
Lutz Roeder has an ILReader class that is capable of something like this.

Otherwise wait until Whidbey. You can get the IL for any method body,
and you can optionally load Assemblies in a reflection only mode so that
the assembly is guaranteed not to run any code, before you've gotten a
chance to fully inspect it's IL. This is a great feature for plug-in hosters.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top