public override int GetHashCode() { unchecked { var result = (direction != null ? direction.GetHashCode() : 0); result = (result * 397) ^ (duration != null ? duration.GetHashCode() : 0); result = (result * 397) ^ size.GetHashCode(); result = (result * 397) ^ (details != null ? details.GetHashCode() : 0); result = (result * 397) ^ (symbol != null ? symbol.GetHashCode() : 0); result = (result * 397) ^ (description != null ? description.GetHashCode() : 0); return(result); } }
public override int GetHashCode() { unchecked { return((left.GetHashCode() * 397) ^ right.GetHashCode()); } }