Don't tag some CAS types as obsolete.
authorRodrigo Kumpera <kumpera@gmail.com>
Tue, 6 Nov 2012 22:08:53 +0000 (17:08 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 6 Nov 2012 23:18:16 +0000 (18:18 -0500)
mcs/class/corlib/System.Security.Permissions/CodeAccessSecurityAttribute.cs
mcs/class/corlib/System.Security.Permissions/SecurityAction.cs
mcs/class/corlib/System.Security.Permissions/SecurityAttribute.cs
mcs/class/corlib/System.Security.Permissions/SecurityPermissionAttribute.cs
mcs/class/corlib/System.Security.Permissions/SecurityPermissionFlag.cs

index 4e89bdc1d7113697f4701f7eaa0e7372791d1bcd..5714862cbde0d9bf3f13786374eed5cf4479fb8a 100644 (file)
@@ -31,7 +31,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)]
index 6d579b30ed364452c928f01dc4fdf1eadeca8a8e..9a20872424b1240b7b4db6b678fac80adf0a4a87 100644 (file)
@@ -35,7 +35,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)]
index 9891c25f6b88d158638c7fea762c86e44e84d0a4..f871175e42343fac9e03d12149d9de093440a049 100644 (file)
@@ -31,7 +31,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)]
index 8b45709549a287b33713b8f2d03087382724dade..cf37722731b90a1ab9e544a9127439ba5ba5a9f5 100644 (file)
@@ -31,7 +31,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)]
index 78afc430071ab27cfb2a6276ee903b7b372ae530..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)]