On Tue, May 4, 2010 at 3:40 PM, Alix <[email protected]> wrote:
> Well, I'm creating it. I have an AssemblyBuilder, in case that
> helps :)
> It's just not finalized.

Cecil can not interact with an assembly created by an AssemblyBuilder
until the Assembly has been saved to the disk. This means that you can
not alter an AssemblyBuilder with Cecil, as the AssemblyBuilder will
be loaded in the runtime anyway.

Am really sorry, but the code snippet you posted doesn't make sense :)

If you have an AssemblyBuilder, you already have control over what
you're emitting. Why would you want to modify it Cecil ? You can just
emit what you want in a first place.

-- 
Jb Evain  <[email protected]>

-- 
--
mono-cecil

Reply via email to