CloneSet296


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20210.995class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120585
src/NHibernate/Type/ComponentType.cs
220634
src/NHibernate/Type/ComponentType.cs
Clone Instance
1
Line Count
20
Source Line
585
Source File
src/NHibernate/Type/ComponentType.cs

                public override bool IsEqual(object x, object y, EntityMode entityMode)
                {
                        if (x == y)
                        {
                                return true;
                        }
                        if (x == null || y == null)
                        {
                                return false;
                        }
                        object[] xvalues = GetPropertyValues(x, entityMode);
                        object[] yvalues = GetPropertyValues(y, entityMode);
                        for (int i = 0; i < propertySpan; i++)
                        {
                                if ( !propertyTypes[i].IsEqual(xvalues[i], yvalues[i], entityMode))
                                {
                                        return false;
                                }
                        }
                        return true;
                }



Clone Instance
2
Line Count
20
Source Line
634
Source File
src/NHibernate/Type/ComponentType.cs

                public override bool IsSame(object x, object y, EntityMode entityMode)
                {
                        if (x == y)
                        {
                                return true;
                        }
                        if (x == null || y == null)
                        {
                                return false;
                        }
                        object[] xvalues = GetPropertyValues(x, entityMode);
                        object[] yvalues = GetPropertyValues(y, entityMode);
                        for (int i = 0; i < propertySpan; i++)
                        {
                                if ( !propertyTypes[i].IsSame(xvalues[i], yvalues[i], entityMode))
                                {
                                        return false;
                                }
                        }
                        return true;
                }



Clone AbstractionParameter Count: 1Parameter Bindings

public override bool [[#variable662f9a80]](object x, object y, EntityMode entityMode)
{
   if (x == y)
   {
      return true;
   }
   if (x == null || y == null)
   {
      return false;
   }
   object[] xvalues = GetPropertyValues(x, entityMode);
   object[] yvalues = GetPropertyValues(y, entityMode);
   for (int i = 0; i < propertySpan; i++)
   {
      if ( !propertyTypes[i]. [[#variable662f9a80]](xvalues[i], yvalues[i], entityMode))
      {
         return false;
      }
   }
   return true;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#662f9a80]]
IsSame 
12[[#662f9a80]]
IsEqual