We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f783e commit f3487e3Copy full SHA for f3487e3
src/NHibernate/Proxy/ProxyCacheEntry.cs
@@ -53,6 +53,9 @@ public override bool Equals(object obj)
53
54
public bool Equals(ProxyCacheEntry other)
55
{
56
+ if (ReferenceEquals(this, other))
57
+ return true;
58
+
59
if (ReferenceEquals(null, other) ||
60
// hashcode inequality allows an early exit, but their equality is not enough for guaranteeing instances equality.
61
_hashCode != other._hashCode ||
0 commit comments