CloneSet1388


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.984class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18136
src/NHibernate/Transaction/AdoNetWithDistrubtedTransactionFactory.cs
28147
src/NHibernate/Transaction/AdoNetWithDistrubtedTransactionFactory.cs
Clone Instance
1
Line Count
8
Source Line
136
Source File
src/NHibernate/Transaction/AdoNetWithDistrubtedTransactionFactory.cs

                        void IEnlistmentNotification.Rollback(Enlistment enlistment)
                        {
                                using (new SessionIdLoggingContext(sessionImplementor.SessionId))
                                {
                                        sessionImplementor.AfterTransactionCompletion(false, null);
                                        logger.Debug("rolled back DTC transaction");
                                        enlistment.Done();
                                        IsInActiveTransaction = false;
                                }
                        }



Clone Instance
2
Line Count
8
Source Line
147
Source File
src/NHibernate/Transaction/AdoNetWithDistrubtedTransactionFactory.cs

                        void IEnlistmentNotification.InDoubt(Enlistment enlistment)
                        {
                                using (new SessionIdLoggingContext(sessionImplementor.SessionId))
                                {
                                        sessionImplementor.AfterTransactionCompletion(false, null);
                                        logger.Debug("DTC transaction is in doubt");
                                        enlistment.Done();
                                        IsInActiveTransaction = false;
                                }
                        }



Clone AbstractionParameter Count: 2Parameter Bindings

void IEnlistmentNotification. [[#variable2d7afe40]](Enlistment enlistment)
{
   using (new SessionIdLoggingContext(sessionImplementor.SessionId))
   {
      sessionImplementor.AfterTransactionCompletion(false, null);
      logger.Debug( [[#variable2d7afd60]]);
      enlistment.Done();
      IsInActiveTransaction = false;
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2d7afe40]]
InDoubt 
12[[#2d7afe40]]
Rollback 
21[[#2d7afd60]]
"DTC transaction is in doubt" 
22[[#2d7afd60]]
"rolled back DTC transaction"