Author: atsushi
Date: 2007-05-28 10:25:13 -0400 (Mon, 28 May 2007)
New Revision: 78060

Modified:
   trunk/mcs/class/System/System.Configuration/ChangeLog
   trunk/mcs/class/System/System.Configuration/SettingElementCollection.cs
Log:
2007-05-28  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * SettingElementCollection.cs : fix build, cyclic build mess.



Modified: trunk/mcs/class/System/System.Configuration/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Configuration/ChangeLog       2007-05-28 
14:18:23 UTC (rev 78059)
+++ trunk/mcs/class/System/System.Configuration/ChangeLog       2007-05-28 
14:25:13 UTC (rev 78060)
@@ -1,5 +1,9 @@
 2007-05-28  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
+       * SettingElementCollection.cs : fix build, cyclic build mess.
+
+2007-05-28  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
        * SettingElement.cs : fix default value (null->"").
        * SettingElementCollection.cs : implemented all.
 

Modified: 
trunk/mcs/class/System/System.Configuration/SettingElementCollection.cs
===================================================================
--- trunk/mcs/class/System/System.Configuration/SettingElementCollection.cs     
2007-05-28 14:18:23 UTC (rev 78059)
+++ trunk/mcs/class/System/System.Configuration/SettingElementCollection.cs     
2007-05-28 14:25:13 UTC (rev 78060)
@@ -26,15 +26,13 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
+#if NET_2_0 && CONFIGURATION_DEP
 using System;
 
 namespace System.Configuration
 {
        public sealed class SettingElementCollection
-#if (CONFIGURATION_DEP)
                : ConfigurationElementCollection
-#endif
        {
                public SettingElementCollection ()
                {
@@ -65,7 +63,6 @@
                        BaseRemove (element.Name);
                }
 
-#if (CONFIGURATION_DEP)
                protected override ConfigurationElement CreateNewElement ()
                {
                        return new SettingElement ();
@@ -83,7 +80,6 @@
                protected override string ElementName {
                        get { return "setting"; }
                }
-#endif
        }
 
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to