[Mono-dev] Edit and Continue / Function body rewrite

David Srbecky dsrbecky at gmail.com
Fri Jul 7 19:53:03 EDT 2006


> If you want to modify existing assemblies you should use Cecil 
> (http://www.mono-project.com/Cecil) because it is designed to do this 
> while System.Reflection.Emit is designed to emit new code and in fact

I do not want to save the new IL code to assembly, I want to save it to 
memory to change a running program - but I know how to do that.

The problem is that I need to somehow *get* the new IL code - do to that 
I need to use gmcs and System.Reflection.Emit.

> it have less support for metadata creation than C# requires because 
> Microsoft is not using it for C# compilation so they didn't reallized 
> that System.Reflection.Emit lacks a lot of features.

That's why I have to use Mono's System.Reflection.Emit not Mircosoft's

David



More information about the Mono-devel-list mailing list