9 references to TryEnter
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingProvider.cs (1)
248Monitor.TryEnter(_cacheableKeyRingLockObj, (existingCacheableKeyRing != null) ? 0 : Timeout.Infinite, ref acquiredLock);
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\ProviderBase\DbReferenceCollection.cs (1)
272Monitor.TryEnter(_itemLock, LockPollTime, ref lockObtained);
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Threading\Monitor.cs (1)
14=> TryEnter(obj, WaitHandle.ToTimeoutMilliseconds(timeout), ref lockTaken);
src\System\Threading\Monitor.CoreCLR.cs (2)
84TryEnter(obj, 0, ref lockTaken); 111TryEnter(obj, millisecondsTimeout, ref lockTaken);
System.Transactions.Local (4)
System\Transactions\VolatileEnlistmentMultiplexing.cs (4)
88Monitor.TryEnter(demux._transaction, 250, ref tookLock); 127Monitor.TryEnter(demux._transaction, 250, ref tookLock); 166Monitor.TryEnter(demux._transaction, 250, ref tookLock); 205Monitor.TryEnter(demux._transaction, 250, ref tookLock);