[Mono-bugs] [Bug 27337][Nor] Changed - Array.CopyTo() doesn't throw exception for different types

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
9 Jul 2002 14:16:33 -0000


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 ndrochak@gol.com.

http://bugzilla.ximian.com/show_bug.cgi?id=27337

--- shadow/27337	Tue Jul  9 08:58:09 2002
+++ shadow/27337.tmp.16050	Tue Jul  9 10:16:33 2002
@@ -46,6 +46,15 @@
 
 ------- Additional Comments From ndrochak@gol.com  2002-07-09 08:58 -------
 my comment above the code should read (note the "not"):
 
 ...it does if the source array is populated with some 
 values, but it should not need that.
+
+------- Additional Comments From ndrochak@gol.com  2002-07-09 10:16 -------
+On IRC Lupus recommended to use Type.IsAssignableFrom() which is a 
+great idea.  Unfortunately, it's only partially implemented.
+
+I'll keep my eyes open for the patch(es) that implement it and then 
+try to fix the Array.Copy*() methods.
+
+Nick D.