Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2010-12-15 14:11:08 +0300
committerMarek Safar <marek.safar@gmail.com>2010-12-15 14:12:07 +0300
commitbd05c6c83699e742e93eec754bf771ee111ff3b1 (patch)
treeded2e63b030f121ca6aff4df4b50e6b5e3e90345 /mcs/class/corlib/System.Security.Permissions
parentd61516587945cc363fa6fcc5fb8035099e65849a (diff)
Some .net 4.0 api compatibility fixes
Diffstat (limited to 'mcs/class/corlib/System.Security.Permissions')
-rw-r--r--mcs/class/corlib/System.Security.Permissions/SecurityAction.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/class/corlib/System.Security.Permissions/SecurityAction.cs b/mcs/class/corlib/System.Security.Permissions/SecurityAction.cs
index e33753f11b8..b35b957d4f2 100644
--- a/mcs/class/corlib/System.Security.Permissions/SecurityAction.cs
+++ b/mcs/class/corlib/System.Security.Permissions/SecurityAction.cs
@@ -43,12 +43,24 @@ namespace System.Security.Permissions {
public enum SecurityAction {
Demand = 2,
Assert = 3,
+#if NET_4_0
+ [Obsolete]
+#endif
Deny = 4,
PermitOnly = 5,
LinkDemand = 6,
InheritanceDemand = 7,
+#if NET_4_0
+ [Obsolete]
+#endif
RequestMinimum = 8,
+#if NET_4_0
+ [Obsolete]
+#endif
RequestOptional = 9,
+#if NET_4_0
+ [Obsolete]
+#endif
RequestRefuse = 10,
}
}