[Mono-dev] [PATCH] MonoMethod.cs

Matthew Metnetsky met at uberstats.com
Wed Mar 11 10:31:36 EDT 2009


-----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.

Please let me know if there is anything else I can do.

Thanks,

~ Matthew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm3y0MACgkQLrcoBjlTBf26KwCeIwsU3rNlTOJbz9DjEq3X3R76
qYAAnRPxE3eOA1Heks4CGbD81JsNx8E1
=CPSh
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System.Reflection.diff
Type: text/x-patch
Size: 6263 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090311/344609c6/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System.Reflection.diff.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090311/344609c6/attachment-0003.bin 


More information about the Mono-devel-list mailing list