Beispiel #1
0
        public override int GetHashCode(string obj)
        {
            if (obj == null)
            {
                throw new ArgumentNullException("obj");
            }
            Contract.EndContractBlock();

            if (_ignoreCase)
            {
                return(FormatProvider.GetHashCodeOrdinalIgnoreCase(obj));
            }

            return(obj.GetHashCode());
        }