12 references to IsThreadSafe
Microsoft.CodeAnalysis.Workspaces.Desktop (1)
Workspace\Host\Mef\MefV1HostServices.cs (1)
66
var container = new CompositionContainer(catalog, compositionOptions: CompositionOptions.DisableSilentRejection | CompositionOptions.
IsThreadSafe
);
System.ComponentModel.Composition (11)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (3)
68
: this(catalog, isThreadSafe ? CompositionOptions.
IsThreadSafe
: CompositionOptions.Default)
75
if (compositionOptions > (CompositionOptions.DisableSilentRejection | CompositionOptions.
IsThreadSafe
| CompositionOptions.ExportCompositionService))
95
_lock = new CompositionLock(compositionOptions.HasFlag(CompositionOptions.
IsThreadSafe
));
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (3)
35
: this(isThreadSafe ? CompositionOptions.
IsThreadSafe
: CompositionOptions.Default)
41
if (compositionOptions > (CompositionOptions.DisableSilentRejection | CompositionOptions.
IsThreadSafe
| CompositionOptions.ExportCompositionService))
47
_lock = new CompositionLock(compositionOptions.HasFlag(CompositionOptions.
IsThreadSafe
));
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (2)
116
: this(catalog, isThreadSafe ? CompositionOptions.
IsThreadSafe
: CompositionOptions.Default, providers)
139
if (compositionOptions > (CompositionOptions.DisableSilentRejection | CompositionOptions.
IsThreadSafe
| CompositionOptions.ExportCompositionService))
System\ComponentModel\Composition\Hosting\CompositionService.cs (1)
32
var compositionOptions = CompositionOptions.DisableSilentRejection | CompositionOptions.
IsThreadSafe
| CompositionOptions.ExportCompositionService;
System\ComponentModel\Composition\Hosting\ImportEngine.cs (2)
43
: this(sourceProvider, isThreadSafe ? CompositionOptions.
IsThreadSafe
: CompositionOptions.Default)
54
_lock = new CompositionLock(compositionOptions.HasFlag(CompositionOptions.
IsThreadSafe
));