Author: noaml
Date: 2007-12-23 05:43:31 -0500 (Sun, 23 Dec 2007)
New Revision: 91824

Modified:
   trunk/mcs/class/System.XML/System.Xml/XmlConvert.cs
Log:
Allow compilation in Java

Modified: trunk/mcs/class/System.XML/System.Xml/XmlConvert.cs
===================================================================
--- trunk/mcs/class/System.XML/System.Xml/XmlConvert.cs 2007-12-23 10:36:14 UTC 
(rev 91823)
+++ trunk/mcs/class/System.XML/System.Xml/XmlConvert.cs 2007-12-23 10:43:31 UTC 
(rev 91824)
@@ -803,6 +803,7 @@
                }
 
 #if NET_2_0 // actually NET_3_5
+#if !TARGET_JVM
 
                public static DateTimeOffset ToDateTimeOffset (string s)
                {
@@ -829,5 +830,6 @@
                        return value.ToString (format, 
CultureInfo.InvariantCulture);
                }
 #endif
+#endif
        }
 }

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

Reply via email to