Author: martin
Date: 2005-04-29 05:17:24 -0400 (Fri, 29 Apr 2005)
New Revision: 43779

Modified:
   trunk/mcs/class/corlib/System/Array.cs
Log:
Reflect latest API changes.


Modified: trunk/mcs/class/corlib/System/Array.cs
===================================================================
--- trunk/mcs/class/corlib/System/Array.cs      2005-04-29 09:16:52 UTC (rev 
43778)
+++ trunk/mcs/class/corlib/System/Array.cs      2005-04-29 09:17:24 UTC (rev 
43779)
@@ -1752,6 +1752,17 @@
                                return array [array.Count - 1 - idx];
                        }
                }
+
+               void IEnumerator.Reset ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               object IEnumerator.Current {
+                       get {
+                               return Current;
+                       }
+               }
        }
 
        internal class ReadOnlyArray <T> : ICollection <T>, IList <T>, 
IEnumerable <T>
@@ -1825,6 +1836,10 @@
                public IEnumerator<T> GetEnumerator () {
                        return new ReadOnlyArrayEnumerator <T> (this);
                }
+
+               IEnumerator IEnumerable.GetEnumerator () {
+                       return new ReadOnlyArrayEnumerator <T> (this);
+               }
        }
 
 #endif

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to