Improve Dictionary TryGetValue size/perfomance (dotnet/coreclr#27195)
[mono-project.git] / netcore / System.Private.CoreLib / shared / System / Collections / IEqualityComparer.cs
blobcc60060279ddcd5f68b48b90d05d1ec25523d4a9
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);