Merge pull request #439 from mono-soc-2012/garyb/iconfix
[mono.git] / mcs / class / System / System.Security.AccessControl / SemaphoreRights.cs
index 79d77763859324d7d534ebeefd5abf85b618a557..58c39cd4cb381cd3ee6bd4741dc5de8979fb016d 100644 (file)
@@ -26,7 +26,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 
 using System.Runtime.InteropServices;
 
@@ -35,14 +34,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 */
        }
 }
 
-#endif