[Mono-dev] [PATCH] MonoMethod.cs

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Mon Mar 23 13:37:13 EDT 2009


On Wed, 2009-03-11 at 10:31 -0400, Matthew Metnetsky wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Miguel de Icaza wrote:
> >     This patch would require both a ChangeLog entry as well as updated
> > NUnit test cases to go with it, exposing the intended behavior and the
> > buggy behavior.
> 
> Gonzalo & Miguel,
> 
> The attached patch contains changes for:
>  - Test/System.Reflection/ChangeLog
>  - Test/System.Reflection/BinderTests.cs
>  - System.Reflection/ChangeLog
>  - System.Reflection/MonoMethod.cs
> 
> The functional difference is that Binder.ChangeType is only called if
> BindingFlags.ExactBindings is not set. Tests have been added to ensure
> this works when set and not. I have also added tests to ensure
> TargetParameterCountException works as there were none previously.

This is now in svn HEAD.
Thanks!

-Gonzalo




More information about the Mono-devel-list mailing list