public override int GetHashCode() { unchecked { int result = (SenderID != null ? SenderID.GetHashCode() : 0); result = (result * 397) ^ (ReceiverID != null ? ReceiverID.GetHashCode() : 0); result = (result * 397) ^ (MessageID != null ? MessageID.GetHashCode() : 0); result = (result * 397) ^ (Body != null ? Body.GetHashCode() : 0); return(result); } }
public override int GetHashCode() { return(SenderID.GetHashCode() + ReceiverID.GetHashCode() + Op.GetHashCode()); }