Author: atsushi
Date: 2007-05-23 09:59:26 -0400 (Wed, 23 May 2007)
New Revision: 77835

Modified:
   trunk/mcs/class/corlib/System/Array.cs
Log:
yuck.



Modified: trunk/mcs/class/corlib/System/Array.cs
===================================================================
--- trunk/mcs/class/corlib/System/Array.cs      2007-05-23 13:49:28 UTC (rev 
77834)
+++ trunk/mcs/class/corlib/System/Array.cs      2007-05-23 13:59:26 UTC (rev 
77835)
@@ -58,32 +58,32 @@
 #if NET_2_0
                // FIXME: they should not be exposed, but there are some
                // dependent code in the runtime.
-               public int InternalArray__ICollection_get_Count<T> ()
+               protected int InternalArray__ICollection_get_Count<T> ()
                {
                        return Length;
                }
 
-               public IEnumerator<T> 
InternalArray__IEnumerable_GetEnumerator<T> ()
+               protected IEnumerator<T> 
InternalArray__IEnumerable_GetEnumerator<T> ()
                {
                        return new InternalEnumerator<T> (this);
                }
 
-               public void InternalArray__ICollection_Clear<T> ()
+               protected void InternalArray__ICollection_Clear<T> ()
                {
                        throw new NotSupportedException ("Collection is 
read-only");
                }
 
-               public void InternalArray__ICollection_Add<T> (T item)
+               protected void InternalArray__ICollection_Add<T> (T item)
                {
                        throw new NotSupportedException ("Collection is 
read-only");
                }
 
-               public bool InternalArray__ICollection_Remove<T> (T item)
+               protected bool InternalArray__ICollection_Remove<T> (T item)
                {
                        throw new NotSupportedException ("Collection is 
read-only");
                }
 
-               public bool InternalArray__ICollection_Contains<T> (T item)
+               protected bool InternalArray__ICollection_Contains<T> (T item)
                {
                        if (this.Rank > 1)
                                throw new RankException (Locale.GetText ("Only 
single dimension arrays are supported."));
@@ -106,7 +106,7 @@
                        return false;
                }
 
-               public void InternalArray__ICollection_CopyTo<T> (T[] array, 
int index)
+               protected void InternalArray__ICollection_CopyTo<T> (T[] array, 
int index)
                {
                        if (array == null)
                                throw new ArgumentNullException ("array");
@@ -126,17 +126,17 @@
                        Copy (this, this.GetLowerBound (0), array, index, 
this.GetLength (0));
                }
 
-               public void InternalArray__Insert<T> (int index, T item)
+               protected void InternalArray__Insert<T> (int index, T item)
                {
                        throw new NotSupportedException ("Collection is 
read-only");
                }
 
-               public void InternalArray__RemoveAt<T> (int index)
+               protected void InternalArray__RemoveAt<T> (int index)
                {
                        throw new NotSupportedException ("Collection is 
read-only");
                }
 
-               public int InternalArray__IndexOf<T> (T item)
+               protected int InternalArray__IndexOf<T> (T item)
                {
                        if (this.Rank > 1)
                                throw new RankException (Locale.GetText ("Only 
single dimension arrays are supported."));
@@ -169,7 +169,7 @@
                        return retVal;
                }
 
-               public T InternalArray__get_Item<T> (int index)
+               protected T InternalArray__get_Item<T> (int index)
                {
                        if (unchecked ((uint) index) >= unchecked ((uint) 
Length))
                                throw new ArgumentOutOfRangeException ("index");
@@ -179,7 +179,7 @@
                        return value;
                }
 
-               public void InternalArray__set_Item<T> (int index, T item)
+               protected void InternalArray__set_Item<T> (int index, T item)
                {
                        throw new NotSupportedException ("Collection is 
read-only");
                }

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

Reply via email to