2008-11-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
[mono.git] / mcs / class / System / System.Configuration / SettingsPropertyCollection.cs
index 6ff884e53819c8177eed0fe04bf38e96fdc057a0..1e894f5bff466ce12720dd38df202a7601f88158 100644 (file)
@@ -29,7 +29,6 @@
 #if NET_2_0
 using System;
 using System.Collections;
-using System.Configuration.Provider;
 
 namespace System.Configuration
 {
@@ -108,27 +107,27 @@ namespace System.Configuration
                        isReadOnly = true;
                }
 
-               protected void OnAdd (SettingsProperty property)
+               protected virtual void OnAdd (SettingsProperty property)
                {
                }
 
-               protected void OnAddComplete (SettingsProperty property)
+               protected virtual void OnAddComplete (SettingsProperty property)
                {
                }
 
-               protected void OnClear ()
+               protected virtual void OnClear ()
                {
                }
 
-               protected void OnClearComplete ()
+               protected virtual void OnClearComplete ()
                {
                }
 
-               protected void OnRemove (SettingsProperty property)
+               protected virtual void OnRemove (SettingsProperty property)
                {
                }
 
-               protected void OnRemoveComplete (SettingsProperty property)
+               protected virtual void OnRemoveComplete (SettingsProperty property)
                {
                }
 
@@ -139,9 +138,7 @@ namespace System.Configuration
                }
 
                public bool IsSynchronized {
-                       get {
-                               throw new NotImplementedException ();
-                       }
+                       get { return false; }
                }
 
                public SettingsProperty this [ string name ] {
@@ -151,9 +148,7 @@ namespace System.Configuration
                }
 
                public object SyncRoot {
-                       get {
-                               throw new NotImplementedException ();
-                       }
+                       get { return this; }
                }
        }