Reduce framework-dependent code

This commit is contained in:
Matt Nadareski
2024-10-24 17:17:39 -04:00
parent 7d53e07e90
commit fbc81459ee

View File

@@ -23,11 +23,7 @@ namespace SabreTools.Hashing
/// <summary>
/// Hash type associated with the current state
/// </summary>
#if NETFRAMEWORK || NETCOREAPP3_1
public HashType HashType { get; private set; }
#else
public HashType HashType { get; init; }
#endif
public readonly HashType HashType;
/// <summary>
/// Current hash in bytes