I have refactored the Lock.cs Class to access internal locking by instance, rather than in a static way. I have also updated the method’s documentation and taken a look into the README, but didn’t seem to me that it needed any changes.
Testing method Locks_work was also refactored to reflect new Lock API functionality.
All tests passed (.NET 6.0 and .NET 7.0).
I have refactored the Lock.cs Class to access internal locking by instance, rather than in a static way. I have also updated the method’s documentation and taken a look into the README, but didn’t seem to me that it needed any changes.
Testing method Locks_work was also refactored to reflect new Lock API functionality. All tests passed (.NET 6.0 and .NET 7.0).