Author: miguel
Date: 2007-03-06 11:59:57 -0500 (Tue, 06 Mar 2007)
New Revision: 73826
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/convert.cs
Log:
2007-03-06 Miguel de Icaza <[EMAIL PROTECTED]>
* convert.cs (ExplicitReferenceConversionExists): Sync this method
with the changes from David, fixes the build.
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2007-03-06 16:58:09 UTC (rev 73825)
+++ trunk/mcs/mcs/ChangeLog 2007-03-06 16:59:57 UTC (rev 73826)
@@ -1,3 +1,8 @@
+2007-03-06 Miguel de Icaza <[EMAIL PROTECTED]>
+
+ * convert.cs (ExplicitReferenceConversionExists): Sync this method
+ with the changes from David, fixes the build.
+
2007-03-05 David Mitchell <[EMAIL PROTECTED]>
* convert.cs: Implement From System.Collecitons.Generic.IList<T>
Modified: trunk/mcs/mcs/convert.cs
===================================================================
--- trunk/mcs/mcs/convert.cs 2007-03-06 16:58:09 UTC (rev 73825)
+++ trunk/mcs/mcs/convert.cs 2007-03-06 16:59:57 UTC (rev 73826)
@@ -1719,6 +1719,9 @@
return true;
+ if (source_type.IsInterface && IList_To_Array
(source_type, target_type))
+ return true;
+
// From an array type S with an element type Se to an
array type T with an
// element type Te provided all the following are true:
// * S and T differe only in element type, in other
words, S and T
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches