Merge pull request #2922 from akoeplinger/fix-tvos
[mono.git] / mcs / class / Mono.Xml.Ext / Mono.Xml.XPath2 / SequenceType.cs
old mode 100755 (executable)
new mode 100644 (file)
index dadaeb8..28daa8c
@@ -27,7 +27,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 using System;
 using System.Collections;
 using System.Globalization;
@@ -370,7 +369,7 @@ namespace Mono.Xml.XPath2
                static XPathAxis child, descendant, attribute, self, 
                        descendantOrSelf, followingSibling, following, 
                        parent, ancestor, precedingSibling, preceding, 
-                       ancestorOrSelf;
+                       ancestorOrSelf, namespaceAxis;
 
                static XPathAxis ()
                {
@@ -386,6 +385,7 @@ namespace Mono.Xml.XPath2
                        precedingSibling = new XPathAxis (XPathAxisType.PrecedingSibling);
                        preceding = new XPathAxis (XPathAxisType.Preceding);
                        ancestorOrSelf = new XPathAxis (XPathAxisType.AncestorOrSelf);
+                       namespaceAxis = new XPathAxis (XPathAxisType.Namespace);
                }
 
                public static XPathAxis Child {
@@ -416,6 +416,10 @@ namespace Mono.Xml.XPath2
                        get { return following; }
                }
 
+               public static XPathAxis NamespaceAxis {
+                       get { return namespaceAxis; }
+               }
+
                public static XPathAxis Parent {
                        get { return parent; }
                }
@@ -725,4 +729,3 @@ namespace Mono.Xml.XPath2
        #endregion
 }
 
-#endif