Merge pull request #496 from nicolas-raoul/unit-test-for-issue2907
[mono.git] / mcs / class / corlib / System.Security.Permissions / SecurityPermissionFlag.cs
index 85bf6fa4f0abf71be77d275c729ba57c9bd11a8c..9e5517bd40662763d02a2f7f7de91cca26b98687 100644 (file)
@@ -34,7 +34,7 @@ using System.Runtime.InteropServices;
 
 namespace System.Security.Permissions {
 
-#if NET_2_1
+#if NET_2_1 && !MONOTOUCH
        [Obsolete ("CAS support is not available with Silverlight applications.")]
 #endif
        [ComVisible (true)]
@@ -69,15 +69,13 @@ namespace System.Security.Permissions {
                RemotingConfiguration = 0x00000800,
 
                Infrastructure = 0x00001000,
-#if ! NET_1_0
+
                BindingRedirects = 0x00002000,
-#endif
+
                AllFlags = Assertion | UnmanagedCode | SkipVerification | Execution | ControlThread
                        | ControlAppDomain | ControlDomainPolicy | ControlEvidence | ControlPolicy
                        | ControlPrincipal | Infrastructure | RemotingConfiguration | SerializationFormatter
-#if ! NET_1_0
                        | BindingRedirects
-#endif
        } // SecurityPermissionFlag
 
 } // System.Security.Permissions