CloneSet1226


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.955class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113255
src/NHibernate/Type/CompositeCustomType.cs
213154
src/NHibernate/Type/CustomType.cs
Clone Instance
1
Line Count
13
Source Line
255
Source File
src/NHibernate/Type/CompositeCustomType.cs

                public override bool Equals(object obj)
                {
                        if ( ! base.Equals(obj))
                        {
                                return false;
                        }

                        return ((CompositeCustomType) obj).userType.GetType() == userType.GetType();
                }

                public override int GetHashCode()
                {
                        return userType.GetHashCode();
                }



Clone Instance
2
Line Count
13
Source Line
154
Source File
src/NHibernate/Type/CustomType.cs

                public override bool Equals(object obj)
                {
                        if ( ! base.Equals(obj))
                        {
                                return false;
                        }

                        return ((CustomType) obj).userType.GetType() == userType.GetType();
                }

                public override int GetHashCode()
                {
                        return userType.GetType().GetHashCode();
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public override bool Equals(object obj)
{
   if ( ! base.Equals(obj))
   {
      return false;
   }
   return (( [[#variable538a7020]])obj).userType.GetType() == userType.GetType();
}

public override int GetHashCode()
{
   return [[#variable538a6ea0]].GetHashCode();
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#538a7020]]
CustomType 
12[[#538a7020]]
CompositeCustomType 
21[[#538a6ea0]]
userType.GetType() 
22[[#538a6ea0]]
userType