public override int GetHashCode() { unchecked { return((UserId * 397) ^ OldType.GetHashCode()); } }
public override int GetHashCode() { unchecked { var hashCode = Type != null?Type.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (Value != null ? Value.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (OldType != null ? OldType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (OldValue != null ? OldValue.GetHashCode() : 0); return(hashCode); } }