Author: gert
Date: 2006-05-30 06:01:00 -0400 (Tue, 30 May 2006)
New Revision: 61254
Modified:
trunk/mcs/class/System/System.Text.RegularExpressions/CaptureCollection.cs
trunk/mcs/class/System/System.Text.RegularExpressions/ChangeLog
trunk/mcs/class/System/System.Text.RegularExpressions/GroupCollection.cs
trunk/mcs/class/System/System.Text.RegularExpressions/MatchCollection.cs
Log:
* CaptureCollection.cs: Removed virtual keyword to fix API mismatches.
* MatchCollection.cs: Removed virtual keyword to fix API mismatches.
* GroupCollection.cs: Removed virtual keyword to fix API mismatches.
Modified:
trunk/mcs/class/System/System.Text.RegularExpressions/CaptureCollection.cs
===================================================================
--- trunk/mcs/class/System/System.Text.RegularExpressions/CaptureCollection.cs
2006-05-30 09:31:24 UTC (rev 61253)
+++ trunk/mcs/class/System/System.Text.RegularExpressions/CaptureCollection.cs
2006-05-30 10:01:00 UTC (rev 61254)
@@ -43,7 +43,7 @@
list = new Capture [n];
}
- public virtual int Count {
+ public int Count {
get { return list.Length; }
}
@@ -51,7 +51,7 @@
get { return true; }
}
- public virtual bool IsSynchronized {
+ public bool IsSynchronized {
get { return false; }
}
@@ -68,16 +68,16 @@
list [i] = cap;
}
- 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)
{
list.CopyTo (array, index);
}
- public virtual IEnumerator GetEnumerator ()
+ public IEnumerator GetEnumerator ()
{
return list.GetEnumerator ();
}
Modified: trunk/mcs/class/System/System.Text.RegularExpressions/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Text.RegularExpressions/ChangeLog
2006-05-30 09:31:24 UTC (rev 61253)
+++ trunk/mcs/class/System/System.Text.RegularExpressions/ChangeLog
2006-05-30 10:01:00 UTC (rev 61254)
@@ -1,3 +1,9 @@
+2006-05-30 Gert Driesen <[EMAIL PROTECTED]>
+
+ * CaptureCollection.cs: Removed virtual keyword to fix API mismatches.
+ * MatchCollection.cs: Removed virtual keyword to fix API mismatches.
+ * GroupCollection.cs: Removed virtual keyword to fix API mismatches.
+
2006-05-08 Raja R Harinath <[EMAIL PROTECTED]>
Fix #78278
Modified:
trunk/mcs/class/System/System.Text.RegularExpressions/GroupCollection.cs
===================================================================
--- trunk/mcs/class/System/System.Text.RegularExpressions/GroupCollection.cs
2006-05-30 09:31:24 UTC (rev 61253)
+++ trunk/mcs/class/System/System.Text.RegularExpressions/GroupCollection.cs
2006-05-30 10:01:00 UTC (rev 61254)
@@ -46,7 +46,7 @@
list = new Group [n];
}
- public virtual int Count {
+ public int Count {
get { return list.Length; }
}
@@ -54,7 +54,7 @@
get { return true; }
}
- public virtual bool IsSynchronized {
+ public bool IsSynchronized {
get { return false; }
}
@@ -86,16 +86,16 @@
}
}
- 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)
{
list.CopyTo (array, index);
}
- public virtual IEnumerator GetEnumerator ()
+ public IEnumerator GetEnumerator ()
{
return list.GetEnumerator ();
}
Modified:
trunk/mcs/class/System/System.Text.RegularExpressions/MatchCollection.cs
===================================================================
--- trunk/mcs/class/System/System.Text.RegularExpressions/MatchCollection.cs
2006-05-30 09:31:24 UTC (rev 61253)
+++ trunk/mcs/class/System/System.Text.RegularExpressions/MatchCollection.cs
2006-05-30 10:01:00 UTC (rev 61254)
@@ -49,7 +49,7 @@
list = new ArrayList ();
}
- public virtual int Count {
+ public int Count {
get { return FullList.Count; }
}
@@ -57,7 +57,7 @@
get { return true; }
}
- public virtual bool IsSynchronized {
+ public bool IsSynchronized {
get { return false; }
}
@@ -70,16 +70,16 @@
}
}
- 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 ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches