using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections { /// Exposes a method that compares two objects. // Token: 0x020005B6 RID: 1462 [Token(Token = "0x20005B6")] [ComVisible(true)] public interface IComparer { /// Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. /// The first object to compare. /// The second object to compare. /// A signed integer that indicates the relative values of and : - If less than 0, is less than . - If 0, equals . - If greater than 0, is greater than . /// Neither nor implements the interface. /// -or- /// and are of different types and neither one can handle comparisons with the other. // Token: 0x06002C67 RID: 11367 [Token(Token = "0x6002C67")] [Address(Slot = "0")] int Compare(object x, object y); } }