diff --git a/AsyncKeyedLock/AsyncKeyedLockReleaser.cs b/AsyncKeyedLock/AsyncKeyedLockReleaser.cs index 47ccbc6..b6b1129 100644 --- a/AsyncKeyedLock/AsyncKeyedLockReleaser.cs +++ b/AsyncKeyedLock/AsyncKeyedLockReleaser.cs @@ -46,7 +46,7 @@ internal AsyncKeyedLockReleaser(TKey key, SemaphoreSlim semaphoreSlim, AsyncKeye _dictionary = dictionary; } - public bool TryIncrement() + internal bool TryIncrement() { if (Monitor.TryEnter(this)) { diff --git a/AsyncKeyedLock/AsyncKeyedLocker.cs b/AsyncKeyedLock/AsyncKeyedLocker.cs index aa46c2e..557d09c 100644 --- a/AsyncKeyedLock/AsyncKeyedLocker.cs +++ b/AsyncKeyedLock/AsyncKeyedLocker.cs @@ -193,10 +193,10 @@ public AsyncKeyedLocker(AsyncKeyedLockOptions options, int concurrencyLevel, int } /// - /// Provider for + /// Provider for /// /// The key for which a releaser should be obtained. - /// A created or retrieved . + /// A created or retrieved . public AsyncKeyedLockReleaser GetOrAdd(TKey key) => _dictionary.GetOrAdd(key); private void Release(AsyncKeyedLockReleaser releaser) => _dictionary.Release(releaser);