2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System / System.Text.RegularExpressions / MatchCollection.cs
index 0a81ad36408e60718e17384dd70e978626b070b1..ab1d6a7f5dc7c51add3688347abccde30c69587c 100644 (file)
@@ -49,7 +49,7 @@ namespace System.Text.RegularExpressions
                        list = new ArrayList ();
                }
 
-               public virtual int Count {
+               public int Count {
                        get { return FullList.Count; }
                }
 
@@ -57,12 +57,12 @@ namespace System.Text.RegularExpressions
                        get { return true; }
                }
 
-               public virtual bool IsSynchronized {
+               public bool IsSynchronized {
                        get { return false; }
                }
 
 
-               public Match this [int i] {
+               public virtual Match this [int i] {
                        get {
                                if (i < 0 || !TryToGet (i))
                                        throw new ArgumentOutOfRangeException ("i");
@@ -70,16 +70,16 @@ namespace System.Text.RegularExpressions
                        }
                }
 
-               public virtual object SyncRoot {
+               public object SyncRoot {
                        get { return list; }
                }
 
-               public virtual void CopyTo (Array array, int index)
+               public void CopyTo (Array array, int index)
                {
                        FullList.CopyTo (array, index);
                }
 
-               public virtual IEnumerator GetEnumerator ()
+               public IEnumerator GetEnumerator ()
                {
                        // If !current.Success, the list is fully populated.  So, just use it.
                        return current.Success ? new Enumerator (this) : list.GetEnumerator ();