Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.990 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 42 | src/NHibernate.DomainModel/Several.cs |
2 | 13 | 44 | src/NHibernate.DomainModel/Single.cs |
| ||||
#region System.Object members public override bool Equals(object obj) { if (this == obj) return true; Several rhs = obj as Several; if (rhs == null) return false; return (rhs.Id.Equals(this.Id) && rhs.String.Equals(this.String)); } public override int GetHashCode() { return _id.GetHashCode(); } |
| ||||
#region System.Object members public override bool Equals(object obj) { if (this == obj) return true; Single rhs = obj as Single; if (rhs == null) return false; return (rhs.Id.Equals(this.Id) && rhs.String.Equals(this.String)); } public override int GetHashCode() { return _id.GetHashCode(); } |
| |||
#region System.Object members public override bool Equals(object obj) { if (this == obj) return true; [[#variable6a256460]]rhs = obj as [[#variable6a256460]]; if (rhs == null) return false; return (rhs.Id.Equals(this.Id) && rhs.String.Equals(this.String)); } public override int GetHashCode() { return _id.GetHashCode(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6a256460]] | Single |
1 | 2 | [[#6a256460]] | Several |