On 1/5/09, Daniel Cazzulino <[email protected]> wrote: > that worked like a charm :)
Cool :) > I wonder why it doesn't with a fieldref (or where I'd use that instead of > the definition...) I guess it's because the newly created FieldReference is unattached to current module. It should work if you add the newly created FieldReference to the .MemberReferences of the module. Painful, I know :) -- Jb Evain <[email protected]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
