CloneSet408


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
29210.994class_member_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12997
src/NHibernate.Test/NHSpecificTest/NH1159/Contact.cs
22997
src/NHibernate.Test/NHSpecificTest/NH1159/ContactTitle.cs
Clone Instance
1
Line Count
29
Source Line
97
Source File
src/NHibernate.Test/NHSpecificTest/NH1159/Contact.cs

                /// <summary>
                /// Returns whether or not the object has changed it's values.
                /// </summary>
                public virtual bool IsChanged
                {
                        get { return isChanged;
                            }
                }

                #endregion
                #region Equals And HashCode Overrides
                /// <summary>
                /// local implementation of Equals based on unique value members
                /// </summary>
                public override bool Equals(object obj)
                {
                        if (this == obj) return true;
                        if ((obj == null) || (obj.GetType() != this.GetType())) return false;
                        Contact castObj = (Contact)obj;
                        return (castObj != null) &&
                                (this.id == castObj.Id);
                }

                /// <summary>
                /// local implementation of GetHashCode based on unique value members
                /// </summary>
                public override int GetHashCode()
                {

                        int hash = 57;
                        hash = 27 * hash * id.GetHashCode();
                        return hash;
                }



Clone Instance
2
Line Count
29
Source Line
97
Source File
src/NHibernate.Test/NHSpecificTest/NH1159/ContactTitle.cs

                /// <summary>
                /// Returns whether or not the object has changed it's values.
                /// </summary>
                public virtual bool IsChanged
                {
                        get { return isChanged;
                            }
                }

                #endregion
                #region Equals And HashCode Overrides
                /// <summary>
                /// local implementation of Equals based on unique value members
                /// </summary>
                public override bool Equals(object obj)
                {
                        if (this == obj) return true;
                        if ((obj == null) || (obj.GetType() != this.GetType())) return false;
                        ContactTitle castObj = (ContactTitle)obj;
                        return (castObj != null) &&
                                (this.id == castObj.Id);
                }

                /// <summary>
                /// local implementation of GetHashCode based on unique value members
                /// </summary>
                public override int GetHashCode()
                {

                        int hash = 57;
                        hash = 27 * hash * id.GetHashCode();
                        return hash;
                }



Clone AbstractionParameter Count: 1Parameter Bindings

/// <summary>
/// Returns whether or not the object has changed it's values.
/// </summary>
public virtual bool IsChanged
{
   get
   {
      return isChanged;
   }
}

#endregion
#region Equals And HashCode Overrides
/// <summary>
/// local implementation of Equals based on unique value members
/// </summary>
public override bool Equals(object obj)
{
   if (this == obj)
      return true;
   if ((obj == null) || (obj.GetType() != this.GetType()))
      return false;
    [[#variable6bdecaa0]]castObj = ( [[#variable6bdecaa0]])obj;
   return (castObj != null) && (this.id == castObj.Id);
}

/// <summary>
/// local implementation of GetHashCode based on unique value members
/// </summary>
public override int GetHashCode()
{
   int hash = 57;
   hash = 27 * hash * id.GetHashCode();
   return hash;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6bdecaa0]]
ContactTitle 
12[[#6bdecaa0]]
Contact