using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections { /// Exposes a method that compares two objects. // Token: 0x020005D5 RID: 1493 [Token(Token = "0x20005D5")] [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: 0x06002E7D RID: 11901 [Token(Token = "0x6002E7D")] [Address(Slot = "0")] int Compare(object x, object y); } }