From 8265935e1be8e419424e27753aa822a3062c8127 Mon Sep 17 00:00:00 2001 From: Dick Porter Date: Fri, 23 Dec 2005 20:29:06 +0000 Subject: 2005-12-23 Dick Porter * EventWaitHandle.cs: * Mutex.cs: Implement OpenExisting * NativeEventCalls.cs: Add OpenEvent icall for OpenExisting in 2.0. Add a "created" boolean out parameter to CreateEvent icall. * ManualResetEvent.cs: * AutoResetEvent.cs: Update CreateEvent icall signature (now has "created" boolean out parameter.) 2005-12-23 Dick Porter * Semaphore.cs: Implement OpenExisting 2005-12-23 Dick Porter * MutexRights.cs: New for 2.0 profile 2005-12-23 Dick Porter * SemaphoreRights.cs: Make the [Flags] enum more obvious 2005-12-23 Dick Porter * SemaphoreTest.cs: Enable another test 2005-12-23 Dick Porter * corlib.dll.sources: Added System.Security.AccessControl.MutexRights svn path=/trunk/mcs/; revision=54801 --- mcs/class/System/System.Security.AccessControl/ChangeLog | 4 ++++ .../System.Security.AccessControl/SemaphoreRights.cs | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'mcs/class/System/System.Security.AccessControl') 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 + + * SemaphoreRights.cs: Make the [Flags] enum more obvious + 2005-11-17 Sebastien Pouliot * 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 */ } } -- cgit v1.2.3