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-17 12:06:21 +0300
committerMarek Safar <marek.safar@gmail.com>2010-12-17 12:36:09 +0300
commit510289542e9627d7897c583cfcaad67dd3ed46db (patch)
treec293e984335c7bab020791ece07067edc003f130 /mcs/class/corlib/System.Security.Permissions
parent093d9ef44814f3320c8cc42c7e77faf35d9a7a51 (diff)
Add an error to obsolete attribute to get consistent compiler error code
Diffstat (limited to 'mcs/class/corlib/System.Security.Permissions')
-rw-r--r--mcs/class/corlib/System.Security.Permissions/SecurityAction.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/corlib/System.Security.Permissions/SecurityAction.cs b/mcs/class/corlib/System.Security.Permissions/SecurityAction.cs
index b35b957d4f2..8e9caf0026b 100644
--- a/mcs/class/corlib/System.Security.Permissions/SecurityAction.cs
+++ b/mcs/class/corlib/System.Security.Permissions/SecurityAction.cs
@@ -44,22 +44,22 @@ namespace System.Security.Permissions {
Demand = 2,
Assert = 3,
#if NET_4_0
- [Obsolete]
+ [Obsolete ("This requests should not be used")]
#endif
Deny = 4,
PermitOnly = 5,
LinkDemand = 6,
InheritanceDemand = 7,
#if NET_4_0
- [Obsolete]
+ [Obsolete ("This requests should not be used")]
#endif
RequestMinimum = 8,
#if NET_4_0
- [Obsolete]
+ [Obsolete ("This requests should not be used")]
#endif
RequestOptional = 9,
#if NET_4_0
- [Obsolete]
+ [Obsolete ("This requests should not be used")]
#endif
RequestRefuse = 10,
}