Merge pull request #3528 from BrzVlad/fix-sgen-check-before-collections
[mono.git] / mcs / class / System.XML / Test / System.Xml / XmlReaderCommonTests.cs
index 16c46b496f4ce7a996bdbf568db76d706bd7e52a..26f461aeb30ff94cdb2f6dea7afffb0ae06499e8 100644 (file)
@@ -15,10 +15,8 @@ using System.Text;
 using System.Xml;\r
 using System.Xml.Schema;\r
 using System.Xml.XPath;\r
-#if NET_4_5\r
 using System.Threading;\r
 using System.Threading.Tasks;\r
-#endif\r
 \r
 using NUnit.Framework;\r
 \r
@@ -2298,7 +2296,6 @@ namespace MonoTests.System.Xml
                        Assert.AreEqual ((UInt64) 1, xr.ReadContentAs (typeof (UInt64), null), "#8");\r
                }\r
 \r
-#if NET_4_5\r
                [Test]\r
                [ExpectedException(typeof(InvalidOperationException))]\r
                public void MustSetAsyncFlag ()\r
@@ -2347,6 +2344,5 @@ namespace MonoTests.System.Xml
                        if (task.Result != null)\r
                                throw task.Result;\r
                }\r
-#endif\r
        }\r
 }\r