2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System / Test / System.CodeDom.Compiler / TempFileCollectionCas.cs
index 4151c5e09b9acfe121e2dc3d1ddf3927b68b371b..8fbdbe39dc8692e724f8dc285b75c590c1725b7a 100644 (file)
@@ -126,9 +126,6 @@ namespace MonoCasTests.System.CodeDom.Compiler {
                [Test]
                [EnvironmentPermission (SecurityAction.PermitOnly, Unrestricted = true)]
                [ExpectedException (typeof (SecurityException))]
-#if ONLY_1_1
-               [Category ("NotDotNet")] // MS doesn't check for Environment under 1.x
-#endif
                public void BasePath_PermitOnly_EnvironmentPermission ()
                {
                        TempFileCollection tfc = new TempFileCollection ();
@@ -139,6 +136,9 @@ namespace MonoCasTests.System.CodeDom.Compiler {
                [Test]
                [EnvironmentPermission (SecurityAction.Deny, Read = "Mono")]
                [ExpectedException (typeof (SecurityException))]
+#if ONLY_1_1
+               [Category ("NotDotNet")] // MS doesn't check for Environment under 1.x
+#endif
                public void BasePath_Deny_EnvironmentPermission ()
                {
                        TempFileCollection tfc = new TempFileCollection ();