views:

86

answers:

2

See title. Reflection.Emit seems to be more about creating a new dynamic assembly, not for loading an exisitng assembly and inspecting its IL.

+4  A: 

Common Compiler Infrastructure

CodeToGlory
+1 Will download and try.
Ash
Played around with it a bit, very good. I can iterate through specific operations very easily using the sample code. Thanks.
Ash
+1  A: 

Reflector does this, and last time I checked, Reflector could still inspect (i.e. disassemble) itself this way, so it will show you exactly how it works.

Robert Harvey
Does is provide an automation API or something? As I said in the title I talking programmatically. I don;t have the time currently to disassemble reflector.
Ash
Some possible options here: http://stackoverflow.com/questions/2425973/open-source-alternatives-to-reflector
Robert Harvey
CCI has libraries that you can use to achieve what you want. I have the link in my answer above.
CodeToGlory
@Code: Yeah, we see it. But thanks for pointing it out to us again anyway.
Robert Harvey