CloneSet1053


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.981block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11362
src/NHibernate/Collection/Generic/PersistentGenericList.cs
213292
src/NHibernate/Collection/PersistentList.cs
Clone Instance
1
Line Count
13
Source Line
62
Source File
src/NHibernate/Collection/Generic/PersistentGenericList.cs

                {
                        if (index < 0)
                        {
                                throw new IndexOutOfRangeException("negative index");
                        }
                        if ( !IsOperationQueueEnabled)
                        {
                                Write();
                                glist.Insert(index, item);
                        }
                        else
                        {
                                QueueOperation(new AddDelayedOperation(this, index, item));
                        }
                }


Clone Instance
2
Line Count
13
Source Line
292
Source File
src/NHibernate/Collection/PersistentList.cs

                {
                        if (index < 0)
                        {
                                throw new IndexOutOfRangeException("negative index");
                        }
                        if ( !IsOperationQueueEnabled)
                        {
                                Write();
                                list.Insert(index, value);
                        }
                        else
                        {
                                QueueOperation(new AddDelayedOperation(this, index, value));
                        }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   if (index < 0)
   {
      throw new IndexOutOfRangeException("negative index");
   }
   if ( !IsOperationQueueEnabled)
   {
      Write();
       [[#variable652c8220]].Insert(index, [[#variable652c8180]]);
   }
   else
   {
      QueueOperation(new AddDelayedOperation(this, index, [[#variable652c8180]]));
   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#652c8220]]
list 
12[[#652c8220]]
glist 
21[[#652c8180]]
value 
22[[#652c8180]]
item