From fbc81459ee5afc1af5ce3ed3cf244a4d2b0aa57d Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 24 Oct 2024 17:17:39 -0400 Subject: [PATCH] Reduce framework-dependent code --- SabreTools.Hashing/HashWrapper.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/SabreTools.Hashing/HashWrapper.cs b/SabreTools.Hashing/HashWrapper.cs index 46fdced..dfe7fc2 100644 --- a/SabreTools.Hashing/HashWrapper.cs +++ b/SabreTools.Hashing/HashWrapper.cs @@ -23,11 +23,7 @@ namespace SabreTools.Hashing /// /// Hash type associated with the current state /// -#if NETFRAMEWORK || NETCOREAPP3_1 - public HashType HashType { get; private set; } -#else - public HashType HashType { get; init; } -#endif + public readonly HashType HashType; /// /// Current hash in bytes