Author: zoltan
Date: 2007-08-28 11:05:30 -0400 (Tue, 28 Aug 2007)
New Revision: 84957

Modified:
   trunk/mcs/class/corlib/System/ChangeLog
   trunk/mcs/class/corlib/System/DateTime.cs
Log:
2007-08-28  Zoltan Varga  <[EMAIL PROTECTED]>

        * DateTime.cs: Fix a warning.


Modified: trunk/mcs/class/corlib/System/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System/ChangeLog     2007-08-28 15:05:19 UTC (rev 
84956)
+++ trunk/mcs/class/corlib/System/ChangeLog     2007-08-28 15:05:30 UTC (rev 
84957)
@@ -1,3 +1,7 @@
+2007-08-28  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * DateTime.cs: Fix a warning.
+
 2007-08-25  Robert Jordan  <[EMAIL PROTECTED]>
 
        * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.

Modified: trunk/mcs/class/corlib/System/DateTime.cs
===================================================================
--- trunk/mcs/class/corlib/System/DateTime.cs   2007-08-28 15:05:19 UTC (rev 
84956)
+++ trunk/mcs/class/corlib/System/DateTime.cs   2007-08-28 15:05:30 UTC (rev 
84957)
@@ -884,7 +884,9 @@
                {
                        
                        const string formatExceptionMessage = "String was not 
recognized as a valid DateTime.";
+#if !NET_2_0
                        const string argumentYearRangeExceptionMessage = "Valid 
values are between 1 and 9999, inclusive.";
+#endif
                        
                        if (s == null)
                                throw new ArgumentNullException (Locale.GetText 
("s is null"));

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

Reply via email to