> I have written a small program that generates a dynamic assembly using
> Reflection.Emit and adding IL code to it using ILGenerator.
[quoted text clipped - 5 lines]
> to e.g. refer to a byte array where the IL code is, and allow this to be
> changed dynamically?
Another way is to use DynamicMethod (in .NET 2.0) instead, if you can
(and with a little persuasion and cleverness with supplying the "target"
parameter to DynamicMethod.CreateDelegate, you can get it to do most
things.)
-- Barry

Signature
http://barrkel.blogspot.com/
Rickard - 14 Jun 2006 10:12 GMT
This seems to be what I was looking for. Thank you.
>> I have written a small program that generates a dynamic assembly using
>> Reflection.Emit and adding IL code to it using ILGenerator.
[quoted text clipped - 12 lines]
>
> -- Barry