1 write to _lock
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\Hosting\ImportEngine.cs (1)
54_lock = new CompositionLock(compositionOptions.HasFlag(CompositionOptions.IsThreadSafe));
12 references to _lock
System.ComponentModel.Composition (12)
System\ComponentModel\Composition\Hosting\ImportEngine.cs (10)
104IDisposable? compositionLockHolder = _lock.IsThreadSafe ? _lock.LockComposition() : null; 169using (_lock.LockComposition()) 206using (_lock.LockComposition()) 233using (_lock.LockComposition()) 264using (_lock.LockStateForWrite()) 284_lock.Dispose(); 635using (_lock.LockStateForRead()) 665using (_lock.LockStateForRead()) 675using (_lock.LockStateForWrite())
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (2)
45using (_importEngine._lock.LockStateForRead()) 52using (_importEngine._lock.LockStateForWrite())