[Mono-list] Re: System.Convert.ChangeType possible bug.
Duncan Mak
duncan@ximian.com
Tue, 21 Sep 2004 18:40:31 -0400
Hello Martin,
On Tue, 2004-09-21 at 22:52 +0100, Martin Garton wrote:
>
> I have looked further and it seems that if no conversion can be performed
> the unconverted object is simply returned instead of throwing an
> exception. I think this is wrong.
>
> A simple fix (Works For Me) is attached.
>
> Comments?
Could you write a test case for this and add it to ConvertTest in NUnit?
This patch looks good to me. Please also attach a ChangeLog entry as
well.
Thanks for the patch,
--
Duncan Mak <duncan@ximian.com>