[Mono-dev] Possible bug in Enumerable.cs?

Alexander Shulgin alexander.shulgin at yessoftware.com
Mon Sep 6 07:15:17 EDT 2010


On 06.09.2010 13:14, anidotnet wrote:
> but Mono throws the following exception
>
> System.InvalidProgramException: Invalid IL code in (wrapper delegate-invoke)
> System.Func`2<char, bool>:invoke_bool__this___char (char): IL_004d:
> castclass 0x00000007
>
>
>
>    at
> System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Char].MoveNext
> () [0x00059] in
> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.7\mcs\class\System.Core\System.Linq\Enumerable.cs:2305

> Why? Is it a bug or something else?

Given the above exception it's definitely a bug.


More information about the Mono-devel-list mailing list