Is it possible to inspect an assembly's IL ins

2019-06-06 11:29发布

问题:

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

回答1:

Common Compiler Infrastructure



回答2:

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.