Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.974 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 240 | src/NHibernate/Type/CustomType.cs |
2 | 3 | 100 | src/NHibernate/Type/EntityType.cs |
3 | 3 | 366 | src/NHibernate/Type/NullableType.cs |
| ||||
public override bool IsEqual(object x, object y, EntityMode entityMode) { return IsEqual(x, y); } |
| ||||
/// <summary> Two entities are considered the same when their instances are the same. </summary> /// <param name="x">One entity instance </param> /// <param name="y">Another entity instance </param> /// <param name="entityMode">The entity mode. </param> /// <returns> True if x == y; false otherwise. </returns> public override bool IsSame(object x, object y, EntityMode entityMode) { return ReferenceEquals(x, y); } |
| ||||
public override bool IsEqual(object x, object y, EntityMode entityMode) { return IsEqual(x, y); } |
| |||
/// <summary> Two entities are considered the same when their instances are the same. </summary> /// <param name="x">One entity instance </param> /// <param name="y">Another entity instance </param> /// <param name="entityMode">The entity mode. </param> /// <returns> True if x == y; false otherwise. </returns> public override bool [[#variable2754b460]](object x, object y, EntityMode entityMode) { return [[#variable2754b3e0]](x, y); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2754b460]] | IsEqual |
1 | 2 | [[#2754b460]] | IsSame |
1 | 3 | [[#2754b460]] | IsEqual |
2 | 1 | [[#2754b3e0]] | IsEqual |
2 | 2 | [[#2754b3e0]] | ReferenceEquals |
2 | 3 | [[#2754b3e0]] | IsEqual |