mirror of
https://github.com/SabreTools/SabreTools.Hashing.git
synced 2026-09-23 07:14:54 +00:00
Reduce framework-dependent code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user