Skip to content

Conversation

@trevor020601
Copy link

This PR addresses the following feature: #4

Changes:

  • Added an #if directive to check if the project is currently targeting .NET 9 or greater:
    • If .NET 9+ then utilize the Lock api
    • If less than .NET 9 is targeted then continue to use object as the "lock"

Testing:

  • Ran unit tests whilst targeting .NET 8 and all tests pass
  • Ran unit tests whilst targeting .NET 9 & 10 and all tests pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant