1 instantiation of LockState
NuGet.Common (1)
KeyedLock.cs (1)
125lockState = new LockState();
8 references to LockState
NuGet.Common (8)
KeyedLock.cs (8)
16/// <summary>The dictionary that contains a <see cref="LockState"/> for each key.</summary> 18private readonly Dictionary<string, LockState> _locks; 25_locks = new Dictionary<string, LockState>(); 36LockState lockState; 76LockState lockState; 109private LockState GetOrCreate(string key) 113if (_locks.TryGetValue(key, out var lockState)) 176var lockState = _locks[key];