diff --git a/src/CacheTower.Serializers.SystemTextJson/CacheTower.Serializers.SystemTextJson.csproj b/src/CacheTower.Serializers.SystemTextJson/CacheTower.Serializers.SystemTextJson.csproj
index 61024ddd..6f253d7e 100644
--- a/src/CacheTower.Serializers.SystemTextJson/CacheTower.Serializers.SystemTextJson.csproj
+++ b/src/CacheTower.Serializers.SystemTextJson/CacheTower.Serializers.SystemTextJson.csproj
@@ -8,7 +8,7 @@
James Turner
-
+
diff --git a/src/CacheTower/Internal/CacheEntryKeyLock.cs b/src/CacheTower/Internal/CacheEntryKeyLock.cs
index 62287389..fdcb049b 100644
--- a/src/CacheTower/Internal/CacheEntryKeyLock.cs
+++ b/src/CacheTower/Internal/CacheEntryKeyLock.cs
@@ -22,7 +22,7 @@ public bool AcquireLock(string cacheKey)
keyLocks[cacheKey] = null;
}
return hasLock;
-#elif NETSTANDARD2_1
+#else
return keyLocks.TryAdd(cacheKey, null);
#endif
}
@@ -56,7 +56,7 @@ private bool TryRemove(string cacheKey, out TaskCompletionSource? c
return true;
}
return false;
-#elif NETSTANDARD2_1
+#else
return keyLocks.Remove(cacheKey, out completionSource);
#endif
}
diff --git a/src/CacheTower/Internal/MD5HashUtility.cs b/src/CacheTower/Internal/MD5HashUtility.cs
index ff33d6b2..e37ff810 100644
--- a/src/CacheTower/Internal/MD5HashUtility.cs
+++ b/src/CacheTower/Internal/MD5HashUtility.cs
@@ -17,7 +17,7 @@ public static unsafe string ComputeHash(string value)
var bytes = Encoding.UTF8.GetBytes(value);
var hashBytes = HashAlgorithm.ComputeHash(bytes);
-#elif NETSTANDARD2_1
+#else
public static unsafe string ComputeHash(ReadOnlySpan value)
{
var encoding = Encoding.UTF8;
@@ -29,9 +29,9 @@ public static unsafe string ComputeHash(ReadOnlySpan value)
HashAlgorithm.TryComputeHash(bytes, hashBytes, out var _);
#endif
- //Based on byte conversion implementation in BitConverter (but with the dash stripped)
- //https://github.com/dotnet/coreclr/blob/fbc11ea6afdaa2fe7b9377446d6bb0bd447d5cb5/src/mscorlib/shared/System/BitConverter.cs#L409-L440
- static char GetHexValue(int i)
+ //Based on byte conversion implementation in BitConverter (but with the dash stripped)
+ //https://github.com/dotnet/coreclr/blob/fbc11ea6afdaa2fe7b9377446d6bb0bd447d5cb5/src/mscorlib/shared/System/BitConverter.cs#L409-L440
+ static char GetHexValue(int i)
{
if (i < 10)
{