On 20 Mai, 20:27, Jb Evain <[email protected]> wrote:
> On Thu, May 20, 2010 at 8:04 PM, Jan <[email protected]> wrote:
> > This did not fix my problem. I have just added the default ctor to
> > class1 in the classlibrary project and I can see the problem again.
>
> At least it happens with or without the body being loaded.

The body must be loaded, if you comment out line 39 in
CecilProblem2Task.cs the error is not showing up

//var instructions = method.Body.Instructions;

Jan

-- 
--
mono-cecil

Reply via email to