On Fri, Jun 18, 2010 at 9:52 PM, david khan <[email protected]> wrote:
> Hello Evain,

Hello Khan,

> I can delete type test.Form2, test.Program etc but why i cannot delete
> Form1 , there is exception thrown nullreference when
> asm.Write("ccc.exe");

Two things here.

First, Cecil should not throw a NullReferenceException, could you
paste the full stacktrace?
Second, it probably means that you're removing something blindly that
is used elsewhere.

-- 
Jb Evain  <[email protected]>

-- 
--
mono-cecil

Reply via email to