Inheritance: StringComparer
Esempio n. 1
0
        // Equals method for the comparer itself.
        public override bool Equals(object obj)
        {
            OrdinalComparer comparer = obj as OrdinalComparer;

            if (comparer == null)
            {
                return(false);
            }
            return(this._ignoreCase == comparer._ignoreCase);
        }
        // Token: 0x0600059D RID: 1437 RVA: 0x00013D74 File Offset: 0x00011F74
        public override bool Equals(object obj)
        {
            OrdinalComparer ordinalComparer = obj as OrdinalComparer;

            return(ordinalComparer != null && this._ignoreCase == ordinalComparer._ignoreCase);
        }