public override int GetHashCode() { var hashCode = -1011251413; hashCode = hashCode * -1521134295 + EncodingType.GetHashCode(); hashCode = hashCode * -1521134295 + Tag.GetHashCode(); return(hashCode); }
public override int GetHashCode() { var hashCode = -1994895936; hashCode = hashCode * -1521134295 + TagClass.GetHashCode(); hashCode = hashCode * -1521134295 + EncodingType.GetHashCode(); hashCode = hashCode * -1521134295 + Tag.GetHashCode(); return(hashCode); }
///<inheritdoc/> public override int GetHashCode() { int hash = 17; // Overflow is fine, just wrap unchecked { hash = (hash * 29) + EncodingType.GetHashCode(); hash = (hash * 29) + EncodingClass.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (AppId != 0) { hash ^= AppId.GetHashCode(); } if (Uid != 0L) { hash ^= Uid.GetHashCode(); } if (InstanceId != 0L) { hash ^= InstanceId.GetHashCode(); } if (Flags != 0) { hash ^= Flags.GetHashCode(); } if (EncodingType != global::AcFunDanmu.PacketHeader.Types.EncodingType.KEncodingNone) { hash ^= EncodingType.GetHashCode(); } if (DecodedPayloadLen != 0) { hash ^= DecodedPayloadLen.GetHashCode(); } if (EncryptionMode != global::AcFunDanmu.PacketHeader.Types.EncryptionMode.KEncryptionNone) { hash ^= EncryptionMode.GetHashCode(); } if (tokenInfo_ != null) { hash ^= TokenInfo.GetHashCode(); } if (SeqId != 0L) { hash ^= SeqId.GetHashCode(); } hash ^= features_.GetHashCode(); if (Kpn.Length != 0) { hash ^= Kpn.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { var Code = Encoding.GetHashCode(); if (Name != null) { Code ^= Name.GetHashCode(); } if (Content != null) { Code ^= Content.GetHashCode(); } return(Code); }
public override int GetHashCode() { return(_encoding.GetHashCode() + _localecho.GetHashCode() * 2 + _transmitnl.GetHashCode() * 3 + _lineFeedRule.GetHashCode() * 4 + _terminalType.GetHashCode() * 5); }