Exemple #1
0
 /// <summary>
 /// GetHashCode()
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode() =>
 (ShowOffsetColumn ? int.MinValue : 0) ^
 (ShowValuesColumn ? 0x40000000 : 0) ^
 (ShowAsciiColumn ? 0x20000000 : 0) ^
 StartPosition.GetHashCode() ^
 EndPosition.GetHashCode() ^
 BasePosition.GetHashCode() ^
 (UseRelativePositions ? 0x10000000 : 0) ^
 OffsetBitSize ^
 (int)HexValuesDisplayFormat ^
 BytesPerLine;
 /// <summary>
 /// GetHashCode()
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode() =>
 CharsPerLine.GetHashCode() ^
 BytesPerLine.GetHashCode() ^
 GroupSizeInBytes.GetHashCode() ^
 ShowOffset.GetHashCode() ^
 OffsetLowerCaseHex.GetHashCode() ^
 (int)OffsetFormat ^
 StartPosition.GetHashCode() ^
 EndPosition.GetHashCode() ^
 BasePosition.GetHashCode() ^
 UseRelativePositions.GetHashCode() ^
 ShowValues.GetHashCode() ^
 ValuesLowerCaseHex.GetHashCode() ^
 OffsetBitSize.GetHashCode() ^
 (int)ValuesFormat ^
 ShowAscii.GetHashCode() ^
 GetHexColumnTypeArrayHashCode(ColumnOrder);