public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + RobotId.GetHashCode(); hash = hash * 23 + X.GetHashCode(); hash = hash * 23 + Y.GetHashCode(); return(hash); } }
public override int GetHashCode() { int hash = 1; if (RobotId.Length != 0) { hash ^= RobotId.GetHashCode(); } if (Make.Length != 0) { hash ^= Make.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }