CloneSet1657


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.982class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1822
src/NHibernate.Test/UserCollection/MyListType.cs
2834
src/NHibernate.Test/UserCollection/Parameterized/DefaultableListType.cs
Clone Instance
1
Line Count
8
Source Line
22
Source File
src/NHibernate.Test/UserCollection/MyListType.cs

                public IEnumerable GetElements(object collection)
                {
                        return (IEnumerable) collection;
                }

                public bool Contains(object collection, object entity)
                {
                        return ((IList) collection).Contains(entity);
                }



Clone Instance
2
Line Count
8
Source Line
34
Source File
src/NHibernate.Test/UserCollection/Parameterized/DefaultableListType.cs

                public IEnumerable GetElements(object collection)
                {
                        return (IDefaultableList)collection;
                }

                public bool Contains(object collection, object entity)
                {
                        return ((IDefaultableList)collection).Contains(entity);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public IEnumerable GetElements(object collection)
{
   return ( [[#variable2851d5c0]])collection;
}

public bool Contains(object collection, object entity)
{
   return (( [[#variable2851d4a0]])collection).Contains(entity);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2851d5c0]]
IEnumerable 
12[[#2851d5c0]]
IDefaultableList 
21[[#2851d4a0]]
IList 
22[[#2851d4a0]]
IDefaultableList