Copy from 72246 to trunk
[mono.git] / mcs / class / System.Configuration / System.Configuration / IgnoreSection.cs
index df38935c865c1b18edc000ed6d7cef3b3be53d2b..7cb13fd5dadeba14aac3296583952647d0880ddc 100644 (file)
@@ -39,6 +39,13 @@ namespace System.Configuration {
        {
                string xml;
 
+               static ConfigurationPropertyCollection properties;
+
+               static IgnoreSection ()
+               {
+                       properties = new ConfigurationPropertyCollection ();
+               }
+
                public IgnoreSection ()
                {
                }
@@ -70,14 +77,8 @@ namespace System.Configuration {
                        return xml;
                }
 
-               ConfigurationPropertyCollection properties;
-               [MonoTODO]
                protected internal override ConfigurationPropertyCollection Properties {
-                       get {
-                               if (properties == null)
-                                       properties = new ConfigurationPropertyCollection ();
-                               return properties;
-                       }
+                       get { return properties; }
                }
        }
 }