diff options
Diffstat (limited to 'mcs/class/corlib/System.Security.Permissions')
-rw-r--r-- | mcs/class/corlib/System.Security.Permissions/SecurityAction.cs | 12 |
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, } } |