1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 namespace System
.Collections
7 // An IEqualityComparer is a mechanism to consume custom performant comparison infrastructure
8 // that can be consumed by some of the common collections.
9 public interface IEqualityComparer
11 bool Equals(object? x
, object? y
);
12 int GetHashCode(object obj
);