diff --git a/GameFrameX.Foundation.Hash/CrcHelper.Crc64.cs b/GameFrameX.Foundation.Hash/CrcHelper.Crc64.cs index 377d5dd..2989322 100644 --- a/GameFrameX.Foundation.Hash/CrcHelper.Crc64.cs +++ b/GameFrameX.Foundation.Hash/CrcHelper.Crc64.cs @@ -34,6 +34,7 @@ using System.Buffers; using System.Buffers.Binary; using System.ComponentModel; +using System.Diagnostics; namespace GameFrameX.Foundation.Hash; @@ -675,7 +676,7 @@ protected virtual void GetHashAndResetCore(Span destination) public override int GetHashCode() #pragma warning restore CS0809 // Obsolete member overrides non-obsolete member { - throw new NotSupportedException(); + throw new UnreachableException(); } } } \ No newline at end of file