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 bba4103 commit 5af9a2cCopy full SHA for 5af9a2c
src/ProgressOnderwijsUtils/Collections/ProjectingEqualityComparer.cs
@@ -72,10 +72,10 @@ int CombinedHash([DisallowNull] T obj)
72
return new Equatable(CombinedEquality, CombinedHash);
73
}
74
75
- sealed record Equatable(EqualsComparer EqualsComparer, HashComputation Hash) : IEqualityComparer<T>
+ sealed record Equatable(EqualsComparer Comparer, HashComputation Hash) : IEqualityComparer<T>
76
{
77
public bool Equals(T? x, T? y)
78
- => x is null ? y is null : y is not null && EqualsComparer(x, y);
+ => x is null ? y is null : y is not null && Comparer(x, y);
79
80
public int GetHashCode(T obj)
81
=> obj is null ? 0 : Hash(obj);
0 commit comments