/// <inheritdoc /> public override int GetHashCode() { unchecked { int hashCode = IsSet.GetHashCode(); hashCode = (hashCode * 397) ^ (BanPhoneMask != null ? BanPhoneMask.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PreBanMessage != null ? PreBanMessage.GetHashCode() : 0); return(hashCode); } }
/// <inheritdoc /> public override int GetHashCode() { unchecked { int hashCode = IsBanned.GetHashCode(); hashCode = (hashCode * 397) ^ (Phone != null ? Phone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Message != null ? Message.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (BanPhoneMask != null ? BanPhoneMask.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ErrorMessage != null ? ErrorMessage.GetHashCode() : 0); return(hashCode); } }