Hey, On 1/13/10, Brandon Cuff <[email protected]> wrote: > > Well I would be writing the method into the same module so I would expect the > tokens to be the same. Am I wrong?
When writing the assembly, Cecil may or may not re-organize types and methods in the module, so the tokens will change. And you'll be out of sync. Add to that the fact that DynamicMethods have a special way of storing tokens (they're not necessarily attached to a module). Anyway, it's just not going to fly, you need to have a step to adapt the byte code to Cecil's instructions. -- Jb Evain <[email protected]>
-- -- mono-cecil
