bring xpath to monotouch xlinq
authorJb Evain <jbevain@gmail.com>
Tue, 25 Aug 2009 14:33:21 +0000 (14:33 -0000)
committerJb Evain <jbevain@gmail.com>
Tue, 25 Aug 2009 14:33:21 +0000 (14:33 -0000)
svn path=/trunk/mcs/; revision=140626

mcs/class/System.Xml.Linq/System.Xml.Linq/XNodeNavigator.cs
mcs/class/System.Xml.Linq/System.Xml.XPath/Extensions.cs

index fc5aa9da9d35be4f67dc7668f4e94f823ef22da5..429954cb8dfac7fab121765bb2307a05d720a8c8 100644 (file)
@@ -24,7 +24,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if !NET_2_1
+#if !NET_2_1 || MONOTOUCH
 
 using System;
 using System.IO;
index 578d6ece51797ce1aeca3569de1d4c5771a7a763..86c0beb6039f473dca3e8173f208420e9d6fc736 100644 (file)
@@ -24,7 +24,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if !NET_2_1
+#if !NET_2_1 || MONOTOUCH
 
 using System;
 using System.Collections.Generic;