Author: ankit
Date: 2006-11-29 05:55:23 -0500 (Wed, 29 Nov 2006)
New Revision: 68654

Modified:
   trunk/mcs/class/System.Transactions/System.Transactions/ChangeLog
   
trunk/mcs/class/System.Transactions/System.Transactions/CommittableTransaction.cs
   
trunk/mcs/class/System.Transactions/System.Transactions/DependentTransaction.cs
   trunk/mcs/class/System.Transactions/System.Transactions/Enlistment.cs
   
trunk/mcs/class/System.Transactions/System.Transactions/SinglePhaseEnlistment.cs
   trunk/mcs/class/System.Transactions/System.Transactions/Transaction.cs
   trunk/mcs/class/System.Transactions/System.Transactions/TransactionManager.cs
   trunk/mcs/class/System.Transactions/System.Transactions/TransactionScope.cs
Log:
* DependentTransaction.cs:
* TransactionScope.cs:
* Enlist.cs:
* TransactionManager.cs:
* Transaction.cs:
* SinglePhaseEnlistment.cs:
* CommittableTransaction.cs:
Remove bogus MonoTODOs. Add meaninful messages to MonoTODOs.


Modified: trunk/mcs/class/System.Transactions/System.Transactions/ChangeLog
===================================================================
--- trunk/mcs/class/System.Transactions/System.Transactions/ChangeLog   
2006-11-29 10:37:37 UTC (rev 68653)
+++ trunk/mcs/class/System.Transactions/System.Transactions/ChangeLog   
2006-11-29 10:55:23 UTC (rev 68654)
@@ -1,3 +1,14 @@
+2006-11-29  Ankit Jain  <[EMAIL PROTECTED]>
+
+       * 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  <[EMAIL PROTECTED]>
 
        * Transaction.cs (operator==, operator!=): Implement.

Modified: 
trunk/mcs/class/System.Transactions/System.Transactions/CommittableTransaction.cs
===================================================================
--- 
trunk/mcs/class/System.Transactions/System.Transactions/CommittableTransaction.cs
   2006-11-29 10:37:37 UTC (rev 68653)
+++ 
trunk/mcs/class/System.Transactions/System.Transactions/CommittableTransaction.cs
   2006-11-29 10:55:23 UTC (rev 68654)
@@ -74,7 +74,7 @@
                        CommitInternal ();
                }
                
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                void ISerializable.GetObjectData (SerializationInfo info,
                        StreamingContext context)
                {

Modified: 
trunk/mcs/class/System.Transactions/System.Transactions/DependentTransaction.cs
===================================================================
--- 
trunk/mcs/class/System.Transactions/System.Transactions/DependentTransaction.cs 
    2006-11-29 10:37:37 UTC (rev 68653)
+++ 
trunk/mcs/class/System.Transactions/System.Transactions/DependentTransaction.cs 
    2006-11-29 10:55:23 UTC (rev 68654)
@@ -12,6 +12,7 @@
 
 namespace System.Transactions
 {
+       [MonoTODO ("Not supported yet")]
        [Serializable]
        public sealed class DependentTransaction : Transaction, ISerializable
        {

Modified: trunk/mcs/class/System.Transactions/System.Transactions/Enlistment.cs
===================================================================
--- trunk/mcs/class/System.Transactions/System.Transactions/Enlistment.cs       
2006-11-29 10:37:37 UTC (rev 68653)
+++ trunk/mcs/class/System.Transactions/System.Transactions/Enlistment.cs       
2006-11-29 10:55:23 UTC (rev 68654)
@@ -22,7 +22,6 @@
                        done = false;
                }
 
-               [MonoTODO]
                public void Done ()
                {
                        done = true;

Modified: 
trunk/mcs/class/System.Transactions/System.Transactions/SinglePhaseEnlistment.cs
===================================================================
--- 
trunk/mcs/class/System.Transactions/System.Transactions/SinglePhaseEnlistment.cs
    2006-11-29 10:37:37 UTC (rev 68653)
+++ 
trunk/mcs/class/System.Transactions/System.Transactions/SinglePhaseEnlistment.cs
    2006-11-29 10:55:23 UTC (rev 68654)
@@ -25,13 +25,11 @@
                        this.enlisted = enlisted;
                }
 
-               [MonoTODO]
                public void Aborted ()
                {
                        Aborted (null);
                }
 
-               [MonoTODO]
                public void Aborted (Exception e)
                {
                        tx.Rollback (e, enlisted);
@@ -44,13 +42,13 @@
                        committed = true;
                }
 
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                public void InDoubt ()
                {
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                public void InDoubt (Exception e)
                {
                        throw new NotImplementedException ();

Modified: trunk/mcs/class/System.Transactions/System.Transactions/Transaction.cs
===================================================================
--- trunk/mcs/class/System.Transactions/System.Transactions/Transaction.cs      
2006-11-29 10:37:37 UTC (rev 68653)
+++ trunk/mcs/class/System.Transactions/System.Transactions/Transaction.cs      
2006-11-29 10:55:23 UTC (rev 68654)
@@ -100,7 +100,6 @@
                        }
                }
 
-               [MonoTODO]
                public Transaction Clone ()
                {
                        return new Transaction (this);
@@ -122,7 +121,7 @@
                        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 @@
                        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 @@
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
+               [MonoTODO ("EnlistmentOptions being ignored")]
                public Enlistment EnlistVolatile (
                        IEnlistmentNotification notification,
                        EnlistmentOptions options)
@@ -166,7 +165,7 @@
                        return EnlistVolatileInternal (notification, options);
                }
 
-               [MonoTODO]
+               [MonoTODO ("EnlistmentOptions being ignored")]
                public Enlistment EnlistVolatile (
                        ISinglePhaseNotification notification,
                        EnlistmentOptions options)

Modified: 
trunk/mcs/class/System.Transactions/System.Transactions/TransactionManager.cs
===================================================================
--- 
trunk/mcs/class/System.Transactions/System.Transactions/TransactionManager.cs   
    2006-11-29 10:37:37 UTC (rev 68653)
+++ 
trunk/mcs/class/System.Transactions/System.Transactions/TransactionManager.cs   
    2006-11-29 10:55:23 UTC (rev 68654)
@@ -23,7 +23,7 @@
                        get { return defaultTimeout; }
                }
 
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                public static HostCurrentTransactionCallback 
HostCurrentCallback {
                        get { throw new NotImplementedException (); }
                        set { throw new NotImplementedException (); }
@@ -33,13 +33,13 @@
                        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)

Modified: 
trunk/mcs/class/System.Transactions/System.Transactions/TransactionScope.cs
===================================================================
--- trunk/mcs/class/System.Transactions/System.Transactions/TransactionScope.cs 
2006-11-29 10:37:37 UTC (rev 68653)
+++ trunk/mcs/class/System.Transactions/System.Transactions/TransactionScope.cs 
2006-11-29 10:55:23 UTC (rev 68654)
@@ -49,7 +49,7 @@
                {
                }
 
-               [MonoTODO]
+               [MonoTODO ("EnterpriseServicesInteropOption not supported.")]
                public TransactionScope (Transaction transaction,
                        TimeSpan timeout, DTCOption opt)
                {
@@ -62,7 +62,7 @@
                {
                }
 
-               [MonoTODO]
+               [MonoTODO ("No TimeoutException is thrown")]
                public TransactionScope (TransactionScopeOption option,
                        TimeSpan timeout)
                {
@@ -76,7 +76,7 @@
                {
                }
 
-               [MonoTODO]
+               [MonoTODO ("EnterpriseServicesInteropOption not supported")]
                public TransactionScope (TransactionScopeOption scopeOption,
                        TransactionOptions options,
                        DTCOption opt)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to