* AccessControlEntryType.cs: fixed enum field values to correspond
authorGert Driesen <drieseng@users.sourceforge.net>
Thu, 17 Jun 2004 05:41:58 +0000 (05:41 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Thu, 17 Jun 2004 05:41:58 +0000 (05:41 -0000)
with MS.NET, removed TODO
* AcknowledgeTypes.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* CryptographicProviderType.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* EncryptionAlgorithm.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* EncryptionRequired.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* GenericAccessRights.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* HashAlgortihm.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* MessagePriority.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* MessageQueueErrorCode.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* MessageQueueException.cs: marked serializable
* MessageQueuePermissionAccess.cs: fixed enum field values to
correspond with MS.NET, removed TODO
* MessageQueueTransactionStatus.cs: fixed enum field values to
correspond with MS.NET, removed TODO
* MessageQueueTransactionType.cs: fixed enum field values to
correspond with MS.NET, removed TODO
* MessageType.cs: fixed enum field values to correspond with MS.NET,
removed TODO
* StandardAccessRights.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* TrusteeType.cs: fixed enum field values to correspond with MS.NET,
removed TODO

svn path=/trunk/mcs/; revision=29741

17 files changed:
mcs/class/System.Messaging/System.Messaging/AccessControlEntryType.cs
mcs/class/System.Messaging/System.Messaging/AcknowledgeTypes.cs
mcs/class/System.Messaging/System.Messaging/ChangeLog
mcs/class/System.Messaging/System.Messaging/CryptographicProviderType.cs
mcs/class/System.Messaging/System.Messaging/EncryptionAlgorithm.cs
mcs/class/System.Messaging/System.Messaging/EncryptionRequired.cs
mcs/class/System.Messaging/System.Messaging/GenericAccessRights.cs
mcs/class/System.Messaging/System.Messaging/HashAlgorithm.cs
mcs/class/System.Messaging/System.Messaging/MessagePriority.cs
mcs/class/System.Messaging/System.Messaging/MessageQueueErrorCode.cs
mcs/class/System.Messaging/System.Messaging/MessageQueueException.cs
mcs/class/System.Messaging/System.Messaging/MessageQueuePermissionAccess.cs
mcs/class/System.Messaging/System.Messaging/MessageQueueTransactionStatus.cs
mcs/class/System.Messaging/System.Messaging/MessageQueueTransactionType.cs
mcs/class/System.Messaging/System.Messaging/MessageType.cs
mcs/class/System.Messaging/System.Messaging/StandardAccessRights.cs
mcs/class/System.Messaging/System.Messaging/TrusteeType.cs

index 9be390ef2e619cafc9072a6d4d1baf3306761810..dcc4aae5db124bf00601b4488a198af67b0ebcb6 100644 (file)
@@ -10,13 +10,12 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
        public enum AccessControlEntryType \r
        {\r
-               Allow\r
-               Deny\r
-               Revoke\r
-               Set\r
+               Allow = 1,\r
+               Deny = 3,\r
+               Revoke = 4,\r
+               Set = 2\r
        }\r
 }\r
index 1284c28ad87a0ffd61536b82a592b52a2a0c563f..786816c2f05a4e294adc94348251482832ba657d 100644 (file)
@@ -10,18 +10,17 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Flags]\r
        [Serializable]\r
        public enum AcknowledgeTypes \r
        {\r
-               FullReachQueue\r
-               FullReceive\r
-               NegativeReceive,\r
-               None, \r
-               NotAcknowledgeReachQueue\r
-               NotAcknowledgeReceive,\r
-               PositiveArrival\r
-               PositiveReceive\r
+               FullReachQueue = 5,\r
+               FullReceive = 14,\r
+               NegativeReceive = 8,\r
+               None = 0\r
+               NotAcknowledgeReachQueue = 4,\r
+               NotAcknowledgeReceive = 12,\r
+               PositiveArrival = 1,\r
+               PositiveReceive = 2\r
        }\r
 }\r
index bc8abf174e543e910e3d7989f8e26fb0f451503a..6a576967d421e6bd6ac43ffe247a80f01404bfc4 100644 (file)
@@ -1,3 +1,37 @@
+2004-06-16  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * AccessControlEntryType.cs: fixed enum field values to correspond
+       with MS.NET, removed TODO
+       * AcknowledgeTypes.cs: fixed enum field values to correspond with 
+       MS.NET, removed TODO
+       * CryptographicProviderType.cs: fixed enum field values to correspond 
+       with MS.NET, removed TODO
+       * EncryptionAlgorithm.cs: fixed enum field values to correspond with 
+       MS.NET, removed TODO
+       * EncryptionRequired.cs: fixed enum field values to correspond with 
+       MS.NET, removed TODO
+       * GenericAccessRights.cs: fixed enum field values to correspond with 
+       MS.NET, removed TODO
+       * HashAlgortihm.cs: fixed enum field values to correspond with 
+       MS.NET, removed TODO
+       * MessagePriority.cs: fixed enum field values to correspond with 
+       MS.NET, removed TODO
+       * MessageQueueErrorCode.cs: fixed enum field values to correspond 
+       with MS.NET, removed TODO
+       * MessageQueueException.cs: marked serializable
+       * MessageQueuePermissionAccess.cs: fixed enum field values to 
+       correspond with MS.NET, removed TODO
+       * MessageQueueTransactionStatus.cs: fixed enum field values to 
+       correspond with MS.NET, removed TODO
+       * MessageQueueTransactionType.cs: fixed enum field values to 
+       correspond with MS.NET, removed TODO
+       * MessageType.cs: fixed enum field values to correspond with MS.NET, 
+       removed TODO
+       * StandardAccessRights.cs: fixed enum field values to correspond 
+       with MS.NET, removed TODO
+       * TrusteeType.cs: fixed enum field values to correspond with MS.NET, 
+       removed TODO
+
 2004-06-03  Duncan Mak  <duncan@ximian.com>
 
        * MonoTODO.cs: Remove the Description field and use Comment, this
index b699e71fea3759113d914ebb5e6c0cf41067b0dc..2535dc97253b2def712a237867adeff7a87c4bd3 100644 (file)
@@ -10,21 +10,20 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
        public enum CryptographicProviderType \r
        {\r
-               Dss\r
-               Fortezza\r
-               MicrosoftExchange,\r
-               None\r
-               RsaFull\r
-               RsqSig,\r
-               Ssl\r
-               SttAcq\r
-               SttBrnd,\r
-               SttIss\r
-               SttMer\r
-               SttRoot\r
+               Dss = 3,\r
+               Fortezza = 4,\r
+               MicrosoftExchange = 5,\r
+               None = 0,\r
+               RsaFull = 1,\r
+               RsqSig = 2,\r
+               Ssl = 6,\r
+               SttAcq = 8,\r
+               SttBrnd = 9,\r
+               SttIss = 11,\r
+               SttMer = 7,\r
+               SttRoot = 10\r
        }\r
 }\r
index 91b4934634ab7433e7b2a1893444a5a04c4981eb..282a448c8dd572734b73a792434edb1502bfa1f6 100644 (file)
@@ -10,12 +10,11 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
        public enum EncryptionAlgorithm \r
        {\r
-               None\r
-               Rc2\r
-               Rc4\r
+               None = 0,\r
+               Rc2 = 26114,\r
+               Rc4 = 26625\r
        }\r
 }\r
index 4e6df59f70f031a8685d0b3f3fc4d13b50873d5a..8a50db1b75ed8c128c153246b2b191fab523f124 100644 (file)
@@ -10,12 +10,11 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
        public enum EncryptionRequired \r
        {\r
-               Body\r
-               None,   \r
-               Optional\r
+               Body = 2,\r
+               None = 0,\r
+               Optional = 1\r
        }\r
 }\r
index 18c0316a089c0ae9f974348fdf52798d3ba4674e..e619b9ce58ae929746107845519f24a2af19b2cf 100644 (file)
@@ -10,15 +10,14 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Flags]\r
        [Serializable]\r
        public enum GenericAccessRights \r
        {\r
-               All\r
-               Execute\r
-               None,\r
-               Read\r
-               Write\r
+               All = 268435456,\r
+               Execute = 536870912,\r
+               None = 0,\r
+               Read = -2147483648,\r
+               Write = 1073741824\r
        }\r
 }\r
index fe3e32e44308c0dfc341d1291229395331080421..4df13a7391a9790cd41e574248fa1f44f62b1077 100644 (file)
@@ -8,17 +8,16 @@
 //\r
 using System;\r
 \r
-namespace System.Messaging \r
+namespace System.Messaging\r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
-       public enum HashAlgorithm \r
+       public enum HashAlgorithm\r
        {\r
-               Mac\r
-               Md2\r
-               Md4,\r
-               Md5\r
-               None\r
-               Sha\r
+               Mac = 32773,\r
+               Md2 = 32769,\r
+               Md4 = 32770,\r
+               Md5 = 32771,\r
+               None = 0,\r
+               Sha = 32772\r
        }\r
 }\r
index 3b035a9bd4659a9da6feec45f225847695341b6f..8eda70b3c6f894212bb4d1a22f5f673614ae21bf 100644 (file)
@@ -10,17 +10,16 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
        public enum MessagePriority \r
        {\r
-               AboveNormal\r
-               High\r
-               Highest,\r
-               Low\r
-               Lowest\r
-               Normal,\r
-               VeryHigh\r
-               VeryLow\r
+               AboveNormal = 4,\r
+               High = 5,\r
+               Highest = 7,\r
+               Low = 2,\r
+               Lowest = 0,\r
+               Normal = 3,\r
+               VeryHigh = 6,\r
+               VeryLow = 1\r
        }\r
 }\r
index 99ca33c6946a6ddada137ab7d3075e1a10def93e..58b14a2b9cd5eed13444931c8bc4fc3800b3bc74 100644 (file)
 //\r
 using System;\r
 \r
-namespace System.Messaging \r
+namespace System.Messaging\r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
-       public enum MessageQueueErrorCode \r
+       public enum MessageQueueErrorCode\r
        {\r
-               AccessDenied\r
-               BadSecurityContext\r
-               Base,\r
-               BufferOverflow\r
-               CannotCreateCertificateStore\r
-               CannotCreateHashEx,\r
-               CannotCreateOnGlobalCatalog\r
-               CannotGetDistinguishedName\r
-               CannotGrantAddGuid,\r
-               CannotHashDataEx\r
-               CannotImpersonateClient\r
-               CannotJoinDomain,\r
-               CannotLoadMsmqOcm\r
-               CannotOpenCertificateStore,\r
-               CannotSetCryptographicSecurityDescriptor\r
-               CannotSignDataEx,\r
-               CertificateNotProvided\r
-               ComputerDoesNotSupportEncryption,\r
-               CorruptedInternalCertificate\r
-               CorruptedPersonalCertStore,\r
-               CorruptedQueueWasDeleted\r
-               CorruptedSecurityData,\r
-               CouldNotGetAccountInfo\r
-               CouldNotGetUserSid\r
-               DeleteConnectedNetworkInUse,\r
-               DependentClientLicenseOverflow\r
-               DsError\r
-               DsIsFull\r
-               DtcConnect,\r
-               EncryptionProviderNotSupported\r
-               FailVerifySignatureEx\r
-               FormatNameBufferTooSmall,\r
-               Generic\r
-               GuidNotMatching\r
-               IllegalContext\r
-               IllegalCriteriaColumns\r
-               IllegalCursorAction,\r
-               IllegalEnterpriseOperation\r
-               IllegalFormatName\r
-               IllegalMessageProperties,\r
-               IllegalOperation\r
-               IllegalPrivateProperties\r
-               IllegalPropertyId,\r
-               IllegalPropertySize\r
-               IllegalPropertyValue\r
-               IllegalPropertyVt,\r
-               IllegalQueuePathName\r
-               IllegalQueueProperties\r
-               IllegalRelation,\r
-               IllegalRestrictionPropertyId\r
-               IllegalSecurityDescriptor\r
-               IllegalSort,\r
-               IllegalSortPropertyId\r
-               IllegalUser\r
-               InsufficientProperties\r
-               InsufficientResources,\r
-               InvalidCertificate\r
-               InvalidHandle\r
-               InvalidOwner,\r
-               InvalidParameter\r
-               IOTimeout\r
-               LabelBufferTooSmall,\r
-               MachineExists\r
-               MachineNotFound\r
-               MessageAlreadyReceived,\r
-               MessageStorageFailed\r
-               MissingConnectorType\r
-               MqisReadOnlyMode,\r
-               MqisServerEmpty\r
-               NoDs\r
-               NoEntryPointMsmqOcm,\r
-               NoGlobalCatalogInDomain\r
-               NoInternalUserCertificate\r
-               NoMsmqServersOnDc,\r
-               NoMsmqServersOnGlobalCatalog\r
-               NoResponseFromObjectServer\r
-               ObjectServerNotAvailable,\r
-               OperationCanceled\r
-               PrivilegeNotHeld\r
-               Property\r
-               PropertyNotAllowed,\r
-               ProviderNameBufferTooSmall\r
-               PublicKeyDoesNotExist\r
-               PublicKeyNotFound,\r
-               QDnsPropertyNotSupported\r
-               QueueDeleted\r
-               QueueExists\r
-               QueueNotAvailable,\r
-               QueueNotFound\r
-               RemoteMachineNotAvailable\r
-               ResultBufferTooSmall,\r
-               SecurityDescriptorBufferTooSmall,  \r
-               SenderCertificateBufferTooSmall,\r
-               SenderIdBufferTooSmall\r
-               ServiceNotAvailable\r
-               SharingViolation,\r
-               SignatureBufferTooSmall\r
-               StaleHandle\r
-               SymmetricKeyBufferTooSmall,\r
-               TransactionEnlist\r
-               TransactionImport\r
-               TransactionSequence\r
-               TransactionUsage,\r
-               UnsupportedAccessMode\r
-               UnsupportedFormatNameOperation\r
-               UnsupportedOperation,\r
-               UserBufferTooSmall\r
-               WksCantServeClient\r
-               WriteNotAllowed\r
+               AccessDenied = -1072824283,\r
+               BadSecurityContext = -1072824267,\r
+               Base = -1072824320,\r
+               BufferOverflow = -1072824294,\r
+               CannotCreateCertificateStore = -1072824209,\r
+               CannotCreateHashEx = -1072824191,\r
+               CannotCreateOnGlobalCatalog = -1072824201,\r
+               CannotGetDistinguishedName = -1072824194,\r
+               CannotGrantAddGuid = -1072824206,\r
+               CannotHashDataEx = -1072824193,\r
+               CannotImpersonateClient = -1072824284,\r
+               CannotJoinDomain = -1072824202,\r
+               CannotLoadMsmqOcm = -1072824205,\r
+               CannotOpenCertificateStore = -1072824208,\r
+               CannotSetCryptographicSecurityDescriptor = -1072824212,\r
+               CannotSignDataEx = -1072824192,\r
+               CertificateNotProvided = -1072824211,\r
+               ComputerDoesNotSupportEncryption = -1072824269,\r
+               CorruptedInternalCertificate = -1072824275,\r
+               CorruptedPersonalCertStore = -1072824271,\r
+               CorruptedQueueWasDeleted = -1072824216,\r
+               CorruptedSecurityData = -1072824272,\r
+               CouldNotGetAccountInfo = -1072824265,\r
+               CouldNotGetUserSid = -1072824266,\r
+               DeleteConnectedNetworkInUse = -1072824248,\r
+               DependentClientLicenseOverflow = -1072824217,\r
+               DsError = -1072824253,\r
+               DsIsFull = -1072824254,\r
+               DtcConnect = -1072824244,\r
+               EncryptionProviderNotSupported = -1072824213,\r
+               FailVerifySignatureEx = -1072824190,\r
+               FormatNameBufferTooSmall = -1072824289,\r
+               Generic = -1072824319,\r
+               GuidNotMatching = -1072824200,\r
+               IllegalContext = -1072824229,\r
+               IllegalCriteriaColumns = -1072824264,\r
+               IllegalCursorAction = -1072824292,\r
+               IllegalEnterpriseOperation = -1072824207,\r
+               IllegalFormatName = -1072824290,\r
+               IllegalMessageProperties = -1072824255,\r
+               IllegalOperation = -1072824220,\r
+               IllegalPrivateProperties = -1072824197,\r
+               IllegalPropertyId = -1072824263,\r
+               IllegalPropertySize = -1072824261,\r
+               IllegalPropertyValue = -1072824296,\r
+               IllegalPropertyVt = -1072824295,\r
+               IllegalQueuePathName = -1072824300,\r
+               IllegalQueueProperties = -1072824259,\r
+               IllegalRelation = -1072824262,\r
+               IllegalRestrictionPropertyId = -1072824260,\r
+               IllegalSecurityDescriptor = -1072824287,\r
+               IllegalSort = -1072824304,\r
+               IllegalSortPropertyId = -1072824228,\r
+               IllegalUser = -1072824303,\r
+               InsufficientProperties = -1072824257,\r
+               InsufficientResources = -1072824281,\r
+               InvalidCertificate = -1072824276,\r
+               InvalidHandle = -1072824313,\r
+               InvalidOwner = -1072824252,\r
+               InvalidParameter = -1072824314,\r
+               IOTimeout = -1072824293,\r
+               LabelBufferTooSmall = -1072824226,\r
+               MachineExists = -1072824256,\r
+               MachineNotFound = -1072824307,\r
+               MessageAlreadyReceived = -1072824291,\r
+               MessageStorageFailed = -1072824278,\r
+               MissingConnectorType = -1072824235,\r
+               MqisReadOnlyMode = -1072824224,\r
+               MqisServerEmpty = -1072824225,\r
+               NoDs = -1072824301,\r
+               NoEntryPointMsmqOcm = -1072824204,\r
+               NoGlobalCatalogInDomain = -1072824196,\r
+               NoInternalUserCertificate = -1072824273,\r
+               NoMsmqServersOnDc = -1072824203,\r
+               NoMsmqServersOnGlobalCatalog = -1072824195,\r
+               NoResponseFromObjectServer = -1072824247,\r
+               ObjectServerNotAvailable = -1072824246,\r
+               OperationCanceled = -1072824312,\r
+               PrivilegeNotHeld = -1072824282,\r
+               Property = -1072824318,\r
+               PropertyNotAllowed = -1072824258,\r
+               ProviderNameBufferTooSmall = -1072824221,\r
+               PublicKeyDoesNotExist = -1072824198,\r
+               PublicKeyNotFound = -1072824199,\r
+               QDnsPropertyNotSupported = -1072824210,\r
+               QueueDeleted = -1072824230,\r
+               QueueExists = -1072824315,\r
+               QueueNotAvailable = -1072824245,\r
+               QueueNotFound = -1072824317,\r
+               RemoteMachineNotAvailable = -1072824215,\r
+               ResultBufferTooSmall = -1072824250,\r
+               SecurityDescriptorBufferTooSmall = -1072824285,\r
+               SenderCertificateBufferTooSmall = -1072824277,\r
+               SenderIdBufferTooSmall = -1072824286,\r
+               ServiceNotAvailable = -1072824309,\r
+               SharingViolation = -1072824311,\r
+               SignatureBufferTooSmall = -1072824222,\r
+               StaleHandle = -1072824234,\r
+               SymmetricKeyBufferTooSmall = -1072824223,\r
+               TransactionEnlist = -1072824232,\r
+               TransactionImport = -1072824242,\r
+               TransactionSequence = -1072824239,\r
+               TransactionUsage = -1072824240,\r
+               UnsupportedAccessMode = -1072824251,\r
+               UnsupportedFormatNameOperation = -1072824288,\r
+               UnsupportedOperation = -1072824214,\r
+               UserBufferTooSmall = -1072824280,\r
+               WksCantServeClient = -1072824218,\r
+               WriteNotAllowed = -1072824219\r
        }\r
 }\r
index 8913633436f675546f367219b85cc2b9d695892b..54a1dfb3531a043b1ef34866d3db5c4e18f1426b 100644 (file)
@@ -14,6 +14,7 @@ using System.Runtime.Serialization;
 \r
 namespace System.Messaging \r
 {      \r
+       [Serializable]\r
        public class MessageQueueException: ExternalException \r
        {\r
                private MessageQueueErrorCode _messageQueueErrorCode;\r
index 0c07b5ef5e23d330228bf6caa80c28cfba86c20f..f5cac13f3ba6e92043a91e916adf1ac34ed1abf6 100644 (file)
@@ -10,16 +10,15 @@ using System;
 \r
 namespace System.Messaging\r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Flags]\r
        [Serializable]\r
        public enum MessageQueuePermissionAccess \r
        {\r
-               Administer\r
-               Browse\r
-               None,\r
-               Peek\r
-               Receive\r
-               Send\r
+               Administer = 62,\r
+               Browse = 2,\r
+               None = 0,\r
+               Peek = 10,\r
+               Receive = 26,\r
+               Send = 6\r
        }\r
 }\r
index 738f11c6ff908d6fe10300fc98f35713701d10fd..492c08d68e2bb2e62fb1f78b30ce327391bdf8c7 100644 (file)
@@ -8,15 +8,14 @@
 //\r
 using System;\r
 \r
-namespace System.Messaging \r
+namespace System.Messaging\r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
-       public enum MessageQueueTransactionStatus \r
+       public enum MessageQueueTransactionStatus\r
        {\r
-               Aborted\r
-               Committed\r
-               Initialized,\r
-               Pending\r
+               Aborted = 0,\r
+               Committed = 1,\r
+               Initialized = 2,\r
+               Pending = 3\r
        }\r
 }\r
index 9c045ac1384020614a697fc9e0628896d3e977c4..073fd6f46fbde0580bdda3462fa7071679609603 100644 (file)
@@ -10,12 +10,11 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
        public enum MessageQueueTransactionType \r
        {\r
-               Automatic\r
-               None\r
-               Single\r
+               Automatic = 1,\r
+               None = 0,\r
+               Single = 3\r
        }\r
 }\r
index 76bdc90b259e5a83f70c42a62eb518249bdad0f6..03a01843f525cb175f4235a0df063bed4a512f42 100644 (file)
@@ -10,12 +10,11 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
        public enum MessageType \r
        {\r
-               Acknowledgment\r
-               Normal\r
-               Report\r
+               Acknowledgment = 1,\r
+               Normal = 2,\r
+               Report = 3\r
        }\r
 }\r
index 0bed1fdf6abecb91295fabce1a91be1d655566c7..82aa49239d211c92aaff1ee001e5b68e80d8052d 100644 (file)
@@ -10,21 +10,20 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Flags]\r
        [Serializable]\r
        public enum StandardAccessRights \r
        {\r
-               All,\r
-               Delete,\r
-               Execute,\r
-               ModifyOwner,\r
-               None,\r
-               Read,\r
-               ReadSecurity,\r
-               Required,\r
-               Synchronize,\r
-               Write,\r
-               WriteSecurity\r
+               All = 2031616,\r
+               Delete = 65536,\r
+               Execute = 131072,\r
+               ModifyOwner = 524288,\r
+               None = 0,\r
+               Read = 131072,\r
+               ReadSecurity = 131072,\r
+               Required = 851968,\r
+               Synchronize = 1048576,\r
+               Write = 131072,\r
+               WriteSecurity = 262144\r
        }\r
 }\r
index 932a18f2222720302f37e922ef1166f313e823c3..1bc739c73b5dc5ffd35edc4402bd0d692b1a8c9d 100644 (file)
@@ -10,15 +10,14 @@ using System;
 \r
 namespace System.Messaging \r
 {\r
-       [MonoTODO("Have to force the right specific values for each element")]\r
        [Serializable]\r
        public enum TrusteeType \r
        {\r
-               Alias\r
-               Computer\r
-               Domain,\r
-               Group\r
-               Unknown\r
-               User\r
+               Alias = 4,\r
+               Computer = 5,\r
+               Domain = 3,\r
+               Group = 2,\r
+               Unknown = 0,\r
+               User = 1\r
        }\r
 }\r