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

Brian Crowell mono-devel at fluggo.com
Fri Jul 7 15:33:04 EDT 2006


Kornél Pál wrote:
> According to Microsoft's public announcements they have done significant 
> modifications to their runtime to support Edit and Continue so this 
> probably it's as easy as writing some managed code.

Under the .NET Framework, yes. You could probably write a set of classes that 
gave you access to the IMetaDataEmit/IMetaDataEmit2 interfaces, and then you 
could use reflection emit to generate the IL and insert it into a running 
program. You could probably do some really freaky programs that way.

My confusion can be summed up as:

1. Since the question was posed on mono-devel, I thought he might want to do 
this sort of thing under Mono.

2. He wants to patch System.Reflection.Emit, which implies he wants to modify 
the source code.

Barring those two things, such a set of classes might be trivial to write. 
They'd essentially just be wrappers for the runtime's metadata services.

--Brian



More information about the Mono-devel-list mailing list