Debian Codegraph @

mcs/class/referencesource/mscorlib/system/collections/generic/iequalitycomparer.cs

raw
1 // ==++==
2 //
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 //
5 // ==--==
6 // <OWNER>kimhamil</OWNER>
7 //
8
9 namespace System.Collections.Generic {
10 using System;
11
12 // The generic IEqualityComparer interface implements methods to if check two objects are equal
13 // and generate Hashcode for an object.
14 // It is use in Dictionary class.
15 public interface IEqualityComparer<in T>
16 {
17 bool Equals(T x, T y);
18 int GetHashCode(T obj);
19 }
20 }
21