* DependentTransaction.cs:
authorAnkit Jain <radical@corewars.org>
Wed, 29 Nov 2006 10:55:23 +0000 (10:55 -0000)
committerAnkit Jain <radical@corewars.org>
Wed, 29 Nov 2006 10:55:23 +0000 (10:55 -0000)
* TransactionScope.cs:
* Enlist.cs:
* TransactionManager.cs:
* Transaction.cs:
* SinglePhaseEnlistment.cs:
* CommittableTransaction.cs:
Remove bogus MonoTODOs. Add meaninful messages to MonoTODOs.

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

mcs/class/System.Transactions/System.Transactions/ChangeLog
mcs/class/System.Transactions/System.Transactions/CommittableTransaction.cs
mcs/class/System.Transactions/System.Transactions/DependentTransaction.cs
mcs/class/System.Transactions/System.Transactions/Enlistment.cs
mcs/class/System.Transactions/System.Transactions/SinglePhaseEnlistment.cs
mcs/class/System.Transactions/System.Transactions/Transaction.cs
mcs/class/System.Transactions/System.Transactions/TransactionManager.cs
mcs/class/System.Transactions/System.Transactions/TransactionScope.cs

index 9d4fc34e8aa34591cf7ad0eaa173a7998500e563..70347270cd601fa1a7d88a1f50ad5fe3da5bdf7d 100644 (file)
@@ -1,3 +1,14 @@
+2006-11-29  Ankit Jain  <jankit@novell.com>
+
+       * DependentTransaction.cs:
+       * TransactionScope.cs:
+       * Enlist.cs:
+       * TransactionManager.cs:
+       * Transaction.cs:
+       * SinglePhaseEnlistment.cs:
+       * CommittableTransaction.cs:
+       Remove bogus MonoTODOs. Add meaninful messages to MonoTODOs.
+
 2006-11-20  Raja R Harinath  <rharinath@novell.com>
 
        * Transaction.cs (operator==, operator!=): Implement.
index 3b6a0f4d20deccf319861e5d6d60d853442c84af..3f8d7e0f839083c40c687d49ca90ee57bc49153c 100644 (file)
@@ -74,7 +74,7 @@ namespace System.Transactions
                        CommitInternal ();
                }
                
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                void ISerializable.GetObjectData (SerializationInfo info,
                        StreamingContext context)
                {
index 4ee2cc94fc7cd336887180b847779bbdd6edc20f..fc1eb75dee4834298dd80e83b87b5149f236565b 100644 (file)
@@ -12,6 +12,7 @@ using System.Runtime.Serialization;
 
 namespace System.Transactions
 {
+       [MonoTODO ("Not supported yet")]
        [Serializable]
        public sealed class DependentTransaction : Transaction, ISerializable
        {
index e1a8b95d5b5062559584d3025536846323fc8ab2..3cf7228b322edc4f226bf0b06f16dc8b09d5b454 100644 (file)
@@ -22,7 +22,6 @@ namespace System.Transactions
                        done = false;
                }
 
-               [MonoTODO]
                public void Done ()
                {
                        done = true;
index ed882de03320064db34ff5a3186ab7550e5d719d..0ee92a669feef48601c099accc6375d3dee4551b 100644 (file)
@@ -25,13 +25,11 @@ namespace System.Transactions
                        this.enlisted = enlisted;
                }
 
-               [MonoTODO]
                public void Aborted ()
                {
                        Aborted (null);
                }
 
-               [MonoTODO]
                public void Aborted (Exception e)
                {
                        tx.Rollback (e, enlisted);
@@ -44,13 +42,13 @@ namespace System.Transactions
                        committed = true;
                }
 
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                public void InDoubt ()
                {
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                public void InDoubt (Exception e)
                {
                        throw new NotImplementedException ();
index 620d176133a67e134f6c72774efa09974eff0792..1e8f61d923e05030db6ba35ed238b660f9d7a8d5 100644 (file)
@@ -100,7 +100,6 @@ namespace System.Transactions
                        }
                }
 
-               [MonoTODO]
                public Transaction Clone ()
                {
                        return new Transaction (this);
@@ -122,7 +121,7 @@ namespace System.Transactions
                        return d;
                }
 
-               [MonoTODO]
+               [MonoTODO ("Only SinglePhase commit supported for durable resource managers.")]
                [PermissionSetAttribute (SecurityAction.LinkDemand)]
                public Enlistment EnlistDurable (Guid manager,
                        IEnlistmentNotification notification,
@@ -131,7 +130,7 @@ namespace System.Transactions
                        throw new NotImplementedException ("Only SinglePhase commit supported for durable resource managers.");
                }
 
-               [MonoTODO]
+               [MonoTODO ("Only Local Transaction Manager supported. Cannot have more than 1 durable resource per transaction. Only EnlistmentOptions.None supported yet.")]
                [PermissionSetAttribute (SecurityAction.LinkDemand)]
                public Enlistment EnlistDurable (Guid manager,
                        ISinglePhaseNotification notification,
@@ -158,7 +157,7 @@ namespace System.Transactions
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO ("EnlistmentOptions being ignored")]
                public Enlistment EnlistVolatile (
                        IEnlistmentNotification notification,
                        EnlistmentOptions options)
@@ -166,7 +165,7 @@ namespace System.Transactions
                        return EnlistVolatileInternal (notification, options);
                }
 
-               [MonoTODO]
+               [MonoTODO ("EnlistmentOptions being ignored")]
                public Enlistment EnlistVolatile (
                        ISinglePhaseNotification notification,
                        EnlistmentOptions options)
index 130df9be27a65f9f6936c60c315b1ebe40675d35..85d12169e10c09b4af5b16c10b702592cd96132a 100644 (file)
@@ -23,7 +23,7 @@ namespace System.Transactions
                        get { return defaultTimeout; }
                }
 
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                public static HostCurrentTransactionCallback HostCurrentCallback {
                        get { throw new NotImplementedException (); }
                        set { throw new NotImplementedException (); }
@@ -33,13 +33,13 @@ namespace System.Transactions
                        get { return maxTimeout; }
                }
 
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                public static void RecoveryComplete (Guid manager)
                {
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                public static Enlistment Reenlist (Guid manager,
                        byte[] recoveryInfo,
                        IEnlistmentNotification notification)
index 247af67e9c424024e0e272ff64b552a9c9ed4a0e..0b9d2f73a19759b7b47adbb466dcd6a7c56e9a9e 100644 (file)
@@ -49,7 +49,7 @@ namespace System.Transactions
                {
                }
 
-               [MonoTODO]
+               [MonoTODO ("EnterpriseServicesInteropOption not supported.")]
                public TransactionScope (Transaction transaction,
                        TimeSpan timeout, DTCOption opt)
                {
@@ -62,7 +62,7 @@ namespace System.Transactions
                {
                }
 
-               [MonoTODO]
+               [MonoTODO ("No TimeoutException is thrown")]
                public TransactionScope (TransactionScopeOption option,
                        TimeSpan timeout)
                {
@@ -76,7 +76,7 @@ namespace System.Transactions
                {
                }
 
-               [MonoTODO]
+               [MonoTODO ("EnterpriseServicesInteropOption not supported")]
                public TransactionScope (TransactionScopeOption scopeOption,
                        TransactionOptions options,
                        DTCOption opt)