CloneSet1192


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.979class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1948
src/NHibernate/Engine/CollectionKey.cs
2979
src/NHibernate/Engine/EntityKey.cs
Clone Instance
1
Line Count
9
Source Line
48
Source File
src/NHibernate/Engine/CollectionKey.cs

                private int GenerateHashCode()
                {
                        int result = 17;
                        unchecked
                        {
                                result = 37 * result + role.GetHashCode();
                                result = 37 * result + keyType.GetHashCode(key, entityMode, factory);
                        }
                        return result;
                }



Clone Instance
2
Line Count
9
Source Line
79
Source File
src/NHibernate/Engine/EntityKey.cs

                private int GenerateHashCode()
                {
                        int result = 17;
                        unchecked
                        {
                                result = 37 * result + rootEntityName.GetHashCode();
                                result = 37 * result + identifierType.GetHashCode(identifier, entityMode, factory);
                        }
                        return result;
                }



Clone AbstractionParameter Count: 3Parameter Bindings

private int GenerateHashCode()
{
   int result = 17;
   unchecked
   {
      result = 37 * result + [[#variable5617e100]].GetHashCode();
      result = 37 * result + [[#variable5617e0a0]].GetHashCode( [[#variable56b0ffa0]], entityMode, factory);
   }
   return result;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5617e100]]
role 
12[[#5617e100]]
rootEntityName 
21[[#5617e0a0]]
keyType 
22[[#5617e0a0]]
identifierType 
31[[#56b0ffa0]]
key 
32[[#56b0ffa0]]
identifier