CloneSet607


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15210.996pp_set_accessor_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11596
src/NHibernate/Collection/Generic/PersistentGenericList.cs
215357
src/NHibernate/Collection/PersistentList.cs
Clone Instance
1
Line Count
15
Source Line
96
Source File
src/NHibernate/Collection/Generic/PersistentGenericList.cs

                        set
                        {
                                if (index < 0)
                                {
                                        throw new IndexOutOfRangeException("negative index");
                                }
                                object old = PutQueueEnabled ? ReadElementByIndex(index):  Unknown;
                                if (old == Unknown)
                                {
                                        Write();
                                        glist[index] = value;
                                }
                                else
                                {
                                        QueueOperation(new SetDelayedOperation(this, index, value, old));
                                }
                        }


Clone Instance
2
Line Count
15
Source Line
357
Source File
src/NHibernate/Collection/PersistentList.cs

                        set
                        {
                                if (index < 0)
                                {
                                        throw new IndexOutOfRangeException("negative index");
                                }
                                object old = PutQueueEnabled ? ReadElementByIndex(index):  Unknown;
                                if (old == Unknown)
                                {
                                        Write();
                                        list[index] = value;
                                }
                                else
                                {
                                        QueueOperation(new SetDelayedOperation(this, index, value, old));
                                }
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

set
{
   if (index < 0)
   {
      throw new IndexOutOfRangeException("negative index");
   }
   object old = PutQueueEnabled ?
                ReadElementByIndex(index): Unknown;
   if (old == Unknown)
   {
      Write();
       [[#variable47036700]][index] = value;
   }
   else
   {
      QueueOperation(new SetDelayedOperation(this, index, value, old));
   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#47036700]]
list 
12[[#47036700]]
glist