12 references to IsThreadSafe
Microsoft.CodeAnalysis.Workspaces.Desktop (1)
Workspace\Host\Mef\MefV1HostServices.cs (1)
66var 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) 75if (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) 41if (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) 139if (compositionOptions > (CompositionOptions.DisableSilentRejection | CompositionOptions.IsThreadSafe | CompositionOptions.ExportCompositionService))
System\ComponentModel\Composition\Hosting\CompositionService.cs (1)
32var 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));