Closed WeihanLi closed 1 year ago
https://github.com/InCerryGit/FasterKvCache/blob/cbe15dbd93b9c76df7d2eb8d1c498ac06aea8a8c/src/FasterKv.Cache.Core/Configurations/FasterKvCacheOptions.cs#L51
https://github.com/InCerryGit/FasterKvCache/blob/cbe15dbd93b9c76df7d2eb8d1c498ac06aea8a8c/src/FasterKv.Cache.Core/Guards.cs#L21
Maybe we could use the NET6_0_OR_GREATER symbol instead
NET6_0_OR_GREATER
https://github.com/InCerryGit/FasterKvCache/blob/cbe15dbd93b9c76df7d2eb8d1c498ac06aea8a8c/src/FasterKv.Cache.Core/Configurations/FasterKvCacheOptions.cs#L51 https://github.com/InCerryGit/FasterKvCache/blob/cbe15dbd93b9c76df7d2eb8d1c498ac06aea8a8c/src/FasterKv.Cache.Core/Guards.cs#L21 Maybe we could use the NET6_0_OR_GREATER symbol instead
Yes, you are right. use NET6_0_OR_GREATER is better.
https://github.com/InCerryGit/FasterKvCache/blob/cbe15dbd93b9c76df7d2eb8d1c498ac06aea8a8c/src/FasterKv.Cache.Core/Configurations/FasterKvCacheOptions.cs#L51
https://github.com/InCerryGit/FasterKvCache/blob/cbe15dbd93b9c76df7d2eb8d1c498ac06aea8a8c/src/FasterKv.Cache.Core/Guards.cs#L21
Maybe we could use the
NET6_0_OR_GREATER
symbol instead