On Sun, 2007-04-29 at 11:20 +0200, Gert Driesen wrote:
> Hi,
>
> There appears to be a regression in SetSystemColors.
>
> The KnownColors.Update method has the following signature:
> public static void Update (int knownColor, uint color)
>
> However in Theme.SetSystemColors, we're passing in two int's:
> update.Invoke (null, new object [2] { (int) kc, value.ToArgb () });
>
> This results in an ArgumentException (thrown by MonoMethod.Invoke).
>
> Strange thing is that I only noticed this issue today, and this change was
> done two weeks ago.
>
> Am I missing something here ?
Yes, there was a newer update (to reduce KnownColor code size) that
changed the int to an uint - and reflection didn't like that :|
Fixed in SVN r76489.
Thanks,
Sebastien
_______________________________________________
Mono-winforms-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list