Hey, On 5/5/09, Sergey Hakobyan <[email protected]> wrote:
> I'm new to Cecil, so before I dive too deep into it, I would like to > check if it supports creating dynamic methods in the running assembly > and calling them. Is it possible to create something like > DynamicMethod without using Relfection.Emit. And if yes, are there a > benefits to do so? > My usage scenario is LGC with DynamicMethod/Reflection.Emit for fast > property/field access instead of using slow MethodInfo.Invoke(), and I > was wondering if it can be accomplished by using Cecil. No it's not. A DynamicMethod is a very special kind of method, and is tightly tied to the runtime. -- Jb Evain <[email protected]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
