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.
--
Justin Rogers
DigiTec Web Consultants, LLC.
Blog:
http://weblogs.asp.net/justin_rogers
"Testing1000" <an*******@discussions.microsoft.com> wrote in message
news:46****************************@phx.gbl...
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.