[Mono-dev] [PATCH] MonoMethod.cs

Matthew Metnetsky met at uberstats.com
Tue Mar 3 17:38:05 EST 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

iEYEARECAAYFAkmtsUsACgkQLrcoBjlTBf2zUgCgz83g0ADcwF93W28WfC93cs49
bdEAoMcO8M9SQEsxbUr3a+cMAJas8ewF
=VPG/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System.Reflection.diff
Type: text/x-patch
Size: 6262 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090303/14d0eb81/attachment.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/20090303/14d0eb81/attachment-0001.bin 


More information about the Mono-devel-list mailing list