CloneSet636


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.991class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111152
src/NHibernate/Collection/PersistentBag.cs
29155
src/NHibernate/Collection/PersistentList.cs
Clone Instance
1
Line Count
11
Source Line
152
Source File
src/NHibernate/Collection/PersistentBag.cs

                public override object Disassemble(ICollectionPersister persister)
                {
                        int length = bag.Count;
                        object[] result = new object[length];

                        for (int i = 0; i < length; i++)
                        {
                                result[i] = persister.ElementType.Disassemble(bag[i], Session, null);
                        }

                        return result;
                }



Clone Instance
2
Line Count
9
Source Line
155
Source File
src/NHibernate/Collection/PersistentList.cs

                public override object Disassemble(ICollectionPersister persister)
                {
                        int length = list.Count;
                        object[] result = new object[length];
                        for (int i = 0; i < length; i++)
                        {
                                result[i] = persister.ElementType.Disassemble(list[i], Session, null);
                        }
                        return result;
                }



Clone AbstractionParameter Count: 1Parameter Bindings

public override object Disassemble(ICollectionPersister persister)
{
   int length = [[#variable4ff932e0]].Count;
   object[] result = new object[length];
   for (int i = 0; i < length; i++)
   {
      result[i] = persister.ElementType.Disassemble( [[#variable4ff932e0]][i], Session, null);
   }
   return result;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ff932e0]]
bag 
12[[#4ff932e0]]
list