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)
104
IDisposable? compositionLockHolder =
_lock
.IsThreadSafe ?
_lock
.LockComposition() : null;
169
using (
_lock
.LockComposition())
206
using (
_lock
.LockComposition())
233
using (
_lock
.LockComposition())
264
using (
_lock
.LockStateForWrite())
284
_lock
.Dispose();
635
using (
_lock
.LockStateForRead())
665
using (
_lock
.LockStateForRead())
675
using (
_lock
.LockStateForWrite())
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (2)
45
using (_importEngine.
_lock
.LockStateForRead())
52
using (_importEngine.
_lock
.LockStateForWrite())