ArgumentOutOfRangeException when saving assembly

6 views
Skip to first unread message

Wicky

unread,
Jan 9, 2011, 8:40:37 AM1/9/11
to mono-cecil
Hi, Jb,

When I load and save below assembly with Cecil 0.9, an
ArgumentOutOfRangeException thrown:
http://www.fileden.com/files/2008/8/5/2035756/Test/csol.zip
But it's ok to load and save it with Cecil 0.6.
Could you take a look whether it's a bug in 0.9?

Regards
Wicky

Jb Evain

unread,
Jan 10, 2011, 6:34:23 AM1/10/11
to mono-...@googlegroups.com
Hi,

On Sun, Jan 9, 2011 at 2:40 PM, Wicky <wicky...@gmail.com> wrote:
> Could you take a look whether it's a bug in 0.9?

It looks like a bug in the obfuscator which is emitting code that can
not simply run (for a change).

in System.Linq.xb6dcf475d75c9930::xd0762b058cc8d603, there's a call to
a method using a non existing generic parameter !!2 as a generic
argument.

Not much Cecil can do here.

Jb

Wicky

unread,
Jan 10, 2011, 8:51:26 PM1/10/11
to mono-cecil
Hi,

On Jan 10, 7:34 pm, Jb Evain <jbev...@gmail.com> wrote:
>
> It looks like a bug in the obfuscator which is emitting code that can
> not simply run (for a change).
>
> in System.Linq.xb6dcf475d75c9930::xd0762b058cc8d603, there's a call to
> a method using a non existing generic parameter !!2 as a generic
> argument.
>

Thanks for the checking.
But I'm curious and would like to know how Cecil 0.6 handle it, does
0.6 use some ways to get around this case?

Regards
Wicky
Reply all
Reply to author
Forward
0 new messages