|
|
@@ -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 ();
|