public override int GetHashCode() { if (logic_ != null) { return(logic_.GetHashCode()); } if (physic_ != null) { return(physic_.GetHashCode()); } throw new InvalidProgramException(); }
public override int GetHashCode() => (targetIndex) ^ target.GetHashCode();