15 references to Enter
dotnet (1)
Commands\Test\MTP\Terminal\SimpleTerminalBase.cs (1)
216Monitor.Enter(_batchingLock, ref lockTaken);
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteRuntimeResolver.cs (1)
146Monitor.Enter(sync, ref lockTaken);
System.Collections.Concurrent (4)
System\Collections\Concurrent\ConcurrentBag.cs (4)
612Monitor.Enter(GlobalQueuesLock, ref lockTaken); 618Monitor.Enter(queue, ref queue._frozen); 776Monitor.Enter(this, ref lockTaken); 893Monitor.Enter(this, ref lockTaken);
System.Diagnostics.PerformanceCounter (1)
System\Diagnostics\PerformanceCounter.cs (1)
462Monitor.Enter(InstanceLockObject, ref tookLock);
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (2)
940Monitor.Enter(locks[lockNo], ref lockTaken); 2401Monitor.Enter(locks[lockNo], ref lockTaken);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SR.cs (1)
52Monitor.Enter(_lock, ref lockTaken);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\SemaphoreSlim.cs (1)
362Monitor.Enter(m_lockObjAndDisposed, ref lockTaken);
System.Private.Reflection.Execution (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SR.cs (1)
52Monitor.Enter(_lock, ref lockTaken);
System.Private.TypeLoader (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SR.cs (1)
52Monitor.Enter(_lock, ref lockTaken);
System.Threading.Channels (2)
System\Threading\Channels\BoundedChannel.cs (2)
373Monitor.Enter(parent.SyncObj, ref releaseLock); 530Monitor.Enter(parent.SyncObj, ref releaseLock);