Remove NET_2_0
authorMarek Safar <marek.safar@gmail.com>
Thu, 28 Jun 2012 08:52:26 +0000 (09:52 +0100)
committerMarek Safar <marek.safar@gmail.com>
Thu, 28 Jun 2012 17:15:10 +0000 (18:15 +0100)
mcs/class/System.XML/System.Xml.XPath/Iterator.cs
mcs/class/System.XML/System.Xml.XPath/XPathNodeIterator.cs

index 923bfc193bddd6b402e8c6d4c26204c017361980..26eebc50b724b13fe012abdf7d6de2b6ffc929d3 100644 (file)
@@ -35,12 +35,7 @@ using System.Collections;
 using System.Xml;
 using System.Xml.XPath;
 using System.Xml.Xsl;
-
-#if NET_2_0
 using NSResolver = System.Xml.IXmlNamespaceResolver;
-#else
-using NSResolver = System.Xml.XmlNamespaceManager;
-#endif
 
 namespace System.Xml.XPath
 {
index 5472bd5313f5e06c6b807ce3b3b8ac7730aa7d75..4678f33d5f5606e41375fd17faa7edbee08abe3a 100644 (file)
 
 using System;
 using System.Collections;
-#if NET_2_0
-using System.Diagnostics;
-#endif
 
 namespace System.Xml.XPath
 {
-#if NET_2_0
        public abstract class XPathNodeIterator : ICloneable, IEnumerable
-#else
-       public abstract class XPathNodeIterator : ICloneable
-#endif
        {
                private int _count = -1;
 
@@ -85,12 +78,10 @@ namespace System.Xml.XPath
                        return Clone ();
                }
 
-#if NET_2_0
                public virtual IEnumerator GetEnumerator ()
                {
                        return new XPathNodeIteratorEnumerator (this);
                }
-#endif
 
                public abstract bool MoveNext ();