CloneSet1485


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.959class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1818
src/NHibernate.Test/Events/Collections/ChildValue.cs
21263
src/NHibernate/Engine/Query/Sql/NativeSQLQuerySpecification.cs
Clone Instance
1
Line Count
8
Source Line
18
Source File
src/NHibernate.Test/Events/Collections/ChildValue.cs

                public override bool Equals(object obj)
                {
                        if (this == obj)
                                return true;
                        ChildValue that = obj as ChildValue;
                        if (that == null)
                                return false;
                        return name == that.name;
                }



Clone Instance
2
Line Count
12
Source Line
63
Source File
src/NHibernate/Engine/Query/Sql/NativeSQLQuerySpecification.cs

                public override bool Equals(object obj)
                {
                        if (this == obj)
                                return true;

                        var that = obj as NativeSQLQuerySpecification;

                        if (that == null)
                                return false;

                        // NHibernate different impl.: NativeSQLQuerySpecification is immutable and the hash is calculated at Ctor
                        return hashCode == that.hashCode;
                }



Clone AbstractionParameter Count: 3Parameter Bindings

public override bool Equals(object obj)
{
   if (this == obj)
      return true;
    [[#variable28c72da0]]that = obj as [[#variable28c72d40]];
   if (that == null)
      return false;
   // NHibernate different impl.: NativeSQLQuerySpecification is immutable and the hash is calculated at Ctor
   return [[#variable28c72ce0]]== that. [[#variable28c72ce0]];
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28c72da0]]
var 
12[[#28c72da0]]
ChildValue 
21[[#28c72d40]]
NativeSQLQuerySpecification 
22[[#28c72d40]]
ChildValue 
31[[#28c72ce0]]
hashCode 
32[[#28c72ce0]]
name