/// <summary> /// Serves as the default hash function. /// </summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { return(BitShifter.ShiftAndWrap(this.RowCount.GetHashCode(), 11) ^ BitShifter.ShiftAndWrap(this.ColumnCount.GetHashCode(), 7) ^ BitShifter.ShiftAndWrap(this.StandardReturnObject?.GetHashCode() ?? 1, 3) ^ this.Rows.GetHashCode()); }
/// <summary> /// Serves as the default hash function. /// </summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { return(BitShifter.ShiftAndWrap(this.Identifier.GetHashCode(), 11) ^ BitShifter.ShiftAndWrap(this.Postcondition?.GetHashCode() ?? 0, 7) ^ BitShifter.ShiftAndWrap(this.Nodes?.GetHashCode() ?? 0, 3) ^ this.ReferenceSteps?.GetHashCode() ?? 0); }
/// <summary> /// Serves as the default hash function. /// </summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { return(BitShifter.ShiftAndWrap(this.content?.GetHashCode() ?? 1, 3) ^ this.ColumnIndex.GetHashCode()); }