13 references to Create
AnalyzerRunner (1)
AnalyzerRunnerMefHostServices.cs (1)
24Interlocked.CompareExchange(ref s_defaultServices, MefHostServices.Create(DefaultAssemblies), null);
IdeBenchmarks (1)
InheritanceMargin\InheritanceMarginServiceBenchmarks.cs (1)
56var hostService = MefHostServices.Create(assemblies);
IdeCoreBenchmarks (4)
ClassificationBenchmarks.cs (1)
78var services = MefHostServices.Create(assemblies);
FindReferencesBenchmarks.cs (1)
75var services = MefHostServices.Create(assemblies);
IncrementalSourceGeneratorBenchmarks.cs (1)
83var services = MefHostServices.Create(assemblies);
NavigateToBenchmarks.cs (1)
80var services = MefHostServices.Create(assemblies);
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Host\Mef\MefHostServices.cs (3)
23/// This delegate allows test code to override the behavior of <see cref="Create(IEnumerable{Assembly})"/>. 88var host = Create(DefaultAssemblies); 136/// Injects replacement behavior for the <see cref="Create(IEnumerable{Assembly})"/> method.
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Host\Mef\MSBuildMefHostServices.cs (1)
22Interlocked.CompareExchange(ref s_defaultServices, MefHostServices.Create(DefaultAssemblies), null);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (3)
VisualStudioMSBuildWorkspaceTests.cs (3)
1135using var workspace = CreateMSBuildWorkspace(MefHostServices.Create(_defaultAssembliesWithoutCSharp)); 1153using var workspace = CreateMSBuildWorkspace(MefHostServices.Create(_defaultAssembliesWithoutCSharp)); 1171using var workspace = MSBuildWorkspace.Create(MefHostServices.Create(_defaultAssembliesWithoutCSharp));