Hey, On 6/2/09, Philip_L <[email protected]> wrote: > How do you emit a module constructor with Cecil? > > Is it just some static method named ".cctor" defined on the special > "<Module>" type in a given assembly?
As Lotfi said, yes. Just note that you can have only one of those, and that it have to be SpecialName | RTSpecialName. -- Jb Evain <[email protected]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
