1

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

Ash
  • 60,973
  • 31
  • 151
  • 169

2 Answers2

3

Common Compiler Infrastructure

Srikar Doddi
  • 15,499
  • 15
  • 65
  • 106
  • Played around with it a bit, very good. I can iterate through specific operations very easily using the sample code. Thanks. – Ash May 13 '10 at 23:06
1

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
  • 178,213
  • 47
  • 333
  • 501