public override int GetHashCode(string obj) { if (obj == null) { throw new ArgumentNullException("obj"); } if (this._ignoreCase) { return TextInfo.GetHashCodeOrdinalIgnoreCase(obj); } return obj.GetHashCode(); } }