}\r
\r
[Test]\r
-#if NET_2_0\r
[Category ("NotDotNet")] // enbugged in 2.0\r
-#endif\r
[ExpectedException (typeof (XmlException))]\r
public void WriteNodeError ()\r
{\r
Assert.AreEqual (xml, writer.ToString ());\r
}\r
\r
-#if NET_2_0\r
[Test]\r
public void Create_File ()\r
{\r
WriteState state = xw.WriteState;\r
}\r
\r
-#endif\r
\r
}\r
\r