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
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
if (task.Result != null)\r
throw task.Result;\r
}\r
-#endif\r
}\r
}\r