public override int GetHashCode() { int result = _parallelAxisNumber.GetHashCode(); result += _usePhysicalValueFirstOther.GetHashCode(); if (_usePhysicalValueFirstOther) { result += _physicalValueFirstOther.GetHashCode(); } else { result += _logicalValueFirstOther.GetHashCode(); } if (Is3DIdentifier) { result += _usePhysicalValueSecondOther.GetHashCode(); if (_usePhysicalValueSecondOther) { result += _physicalValueSecondOther.GetHashCode(); } else { result += _logicalValueSecondOther.GetHashCode(); } } return(result); }
public override int GetHashCode() { int result = _perpendicularAxisNumber.GetHashCode(); result += _usePhysicalValue.GetHashCode(); if (_usePhysicalValue) { result += _physicalValue.GetHashCode(); } else { result += _logicalValue.GetHashCode(); } return(result); }