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:
Diffstat (limited to 'mcs/class/System/System.Security.AccessControl')
-rw-r--r--mcs/class/System/System.Security.AccessControl/ChangeLog4
-rw-r--r--mcs/class/System/System.Security.AccessControl/SemaphoreRights.cs14
2 files changed, 11 insertions, 7 deletions
diff --git a/mcs/class/System/System.Security.AccessControl/ChangeLog b/mcs/class/System/System.Security.AccessControl/ChangeLog
index a6210881364..d17e2d555c2 100644
--- a/mcs/class/System/System.Security.AccessControl/ChangeLog
+++ b/mcs/class/System/System.Security.AccessControl/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-23 Dick Porter <dick@ximian.com>
+
+ * SemaphoreRights.cs: Make the [Flags] enum more obvious
+
2005-11-17 Sebastien Pouliot <sebastien@ximian.com>
* SemaphoreRights.cs: New (2.0). Enum of all the rights applicable to
diff --git a/mcs/class/System/System.Security.AccessControl/SemaphoreRights.cs b/mcs/class/System/System.Security.AccessControl/SemaphoreRights.cs
index 79d77763859..f3163c99581 100644
--- a/mcs/class/System/System.Security.AccessControl/SemaphoreRights.cs
+++ b/mcs/class/System/System.Security.AccessControl/SemaphoreRights.cs
@@ -35,13 +35,13 @@ namespace System.Security.AccessControl {
[ComVisible (false)]
[Flags]
public enum SemaphoreRights {
- Modify = 2,
- Delete = 65536,
- ReadPermissions = 131072,
- ChangePermissions = 262144,
- TakeOwnership = 524288,
- Synchronize = 1048576,
- FullControl = 2031619
+ Modify = 0x000002,
+ Delete = 0x010000,
+ ReadPermissions = 0x020000,
+ ChangePermissions = 0x040000,
+ TakeOwnership = 0x080000,
+ Synchronize = 0x100000,
+ FullControl = 0x1F0003 /* not 0x1F0002 according to corcompare */
}
}