Ahh okay. Thanks anyway for the info.
Jb Evain-2 wrote: > > 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 > -- View this message in context: http://old.nabble.com/Can-I-use-Cecil-to-write-IL-from-a-byte----tp27132028p27140953.html Sent from the Mono - Cecil mailing list archive at Nabble.com.
-- -- mono-cecil
