[bcl] Remove more NET_2_0 checks from class libs
[mono.git] / mcs / class / System.XML / Test / System.Xml / XsdParticleValidationTests.cs
index 92d72231134d1f2514394434b2b92f5ffbac6835..39c641491ed45148d475a34cef746c4e31c3b3c6 100644 (file)
@@ -11,11 +11,7 @@ using System.Xml;
 using System.Xml.Schema;\r
 using NUnit.Framework;\r
 \r
-#if NET_2_0\r
 using ValidationException = System.Xml.Schema.XmlSchemaValidationException;\r
-#else\r
-using ValidationException = System.Xml.Schema.XmlSchemaException;\r
-#endif\r
 \r
 namespace MonoTests.System.Xml\r
 {\r
@@ -48,10 +44,8 @@ namespace MonoTests.System.Xml
                }\r
 \r
                [Test]\r
-#if NET_2_0\r
                [Category ("NotDotNet")]\r
                // MS.NET throws XmlSchemaException, not -ValidationException.\r
-#endif\r
                [ExpectedException (typeof (ValidationException))]\r
                public void ValidateRootElementOnlyInvalid ()\r
                {\r