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
  • 59,110
  • 31
  • 149
  • 168

2 Answers2

3

Common Compiler Infrastructure

Srikar Doddi
  • 15,306
  • 15
  • 61
  • 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
  • 173,679
  • 45
  • 326
  • 490