2010-01-09 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Configuration / System.Configuration / ConfigurationPropertyCollection.cs
index 751e4947727610c932e111a5eaa88b0f766460ed..bbe44f45133bb4941f85dab8eb9c28fd3283c946 100644 (file)
@@ -42,7 +42,7 @@ namespace System.Configuration
                        collection = new List <ConfigurationProperty> ();
                }
 
-               public virtual int Count {
+               public int Count {
                        get { return collection.Count; }
                }
 
@@ -56,11 +56,11 @@ namespace System.Configuration
                        }
                }
 
-               bool ICollection.IsSynchronized {
+               public bool IsSynchronized {
                        get {  return false; }
                }
 
-               object ICollection.SyncRoot {
+               public object SyncRoot {
                        get { return collection; }
                }
 
@@ -89,7 +89,7 @@ namespace System.Configuration
                        ((ICollection) collection).CopyTo (array, index);
                }
 
-               IEnumerator IEnumerable.GetEnumerator ()
+               public IEnumerator GetEnumerator ()
                {
                        return collection.GetEnumerator ();
                }
@@ -98,6 +98,11 @@ namespace System.Configuration
                {
                        return collection.Remove (this [name]);
                }
+               
+               public void Clear ()
+               {
+                       collection.Clear ();
+               }
        }
 }
 #endif