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 9bbb4f3 commit b957ad1Copy full SHA for b957ad1
src/NHibernate/Mapping/ByCode/PropertyPath.cs
@@ -66,9 +66,7 @@ public bool Equals(PropertyPath other)
66
{
67
return true;
68
}
69
- return (ReferenceEquals(previousPath, null) && ReferenceEquals(other.previousPath, null) ||
70
- !ReferenceEquals(previousPath, null) && previousPath.Equals(other.previousPath)) &&
71
- localMember.Equals(other.localMember);
+ return Equals(previousPath, other.previousPath) && Equals(localMember, other.localMember);
72
73
74
public override int GetHashCode()
0 commit comments