On 7/23/2012 9:53 AM, Marek Safar wrote:
Expanding the initialization is the easiest option how to workaround this .net bug. Because the scope of the bug is quite limited and easy to workaround I don't think it's work adding special handling for it. Microsoft already fixed the issue but I am not sure whether there is a hotfix available for .NET 2.0
I've tried it using .NET 2.0 and 4.0. It works fine on 32-bit, but both versions fail with ArgumentException on x64. (All the patches from Windows Update are applied.)
It however works with .NET 4.5 RC on x64. (That is indeed the next release after the the date of their comment on connect.)
Note that the workaround is simple: Not to use InitializeArray for enum arrays.
Kornel _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list