[Mono-bugs] [Bug 53919][Wis] Changed - Convert.ChangeType fails to convert TimeSpan objects

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 5 Feb 2004 10:18:42 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ianm@activestate.com.


--- shadow/53919	2004-02-05 08:46:21.000000000 -0500
+++ shadow/53919.tmp.24786	2004-02-05 10:18:42.000000000 -0500
@@ -46,6 +46,11 @@
 How often does this happen? 
 Additional Information:
 the above code works fine on windows. This only seems to be an issue with
 TimeSpan - although I didn't test other object types exhaustively.
+------- Additional Comments From ianm@activestate.com  2004-02-05 10:18 -------
+Created an attachment (id=6616)
+patch to Convert.cs that always lets a Convert.ChangeType call succeed if the source object is already of the destination type.