20 references to WithTestHostParts
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Classification\AbstractCSharpClassifierTests.cs (1)
19var composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(testHost);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
NavigateTo\AbstractNavigateToTests.cs (2)
134composition = composition.WithTestHostParts(testHost); 146composition = composition.WithTestHostParts(testHost);
TaskList\AbstractTaskListTests.cs (1)
20private static readonly TestComposition s_outOffProcessComposition = s_inProcessComposition.WithTestHostParts(TestHost.OutOfProcess);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (5)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
854using var workspace = EditorTestWorkspace.CreateCSharp("// This file will get a diagnostic", composition: s_featuresCompositionWithMockDiagnosticUpdateSourceRegistrationService.WithTestHostParts(testHost));
InheritanceMargin\InheritanceMarginTests.cs (1)
27private static readonly TestComposition s_outOffProcessComposition = s_inProcessComposition.WithTestHostParts(TestHost.OutOfProcess);
SymbolFinder\DependentTypeFinderTests.cs (2)
45var composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(host); 621var composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(host);
ValueTracking\AbstractBaseValueTrackingTests.cs (1)
22=> CreateWorkspace(code, EditorTestCompositions.EditorFeatures.WithTestHostParts(testHost));
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
RelatedDocuments\AbstractRelatedDocumentsTests.cs (1)
26composition: FeaturesTestCompositions.Features.WithTestHostParts(testHost));
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
40var localComposition = FeaturesTestCompositions.Features.WithTestHostParts(testHost)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
WorkspaceTestUtilities.cs (1)
15=> new WorkspaceWithPartialSemantics(FeaturesTestCompositions.Features.AddParts(additionalParts).WithTestHostParts(testHost).GetHostServices());
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
FindAllDeclarationsTests.TestSolutionsAndProject.cs (1)
79var composition = FeaturesTestCompositions.Features.WithTestHostParts(testHost);
Remote\ServiceDescriptorTests.cs (1)
364var hostServices = FeaturesTestCompositions.Features.WithTestHostParts(Testing.TestHost.OutOfProcess).GetHostServices();
SolutionTests\SolutionTestHelpers.cs (1)
17=> new AdhocWorkspace(FeaturesTestCompositions.Features.AddParts(additionalParts).WithTestHostParts(testHost).GetHostServices());
Roslyn.VisualStudio.Next.UnitTests (5)
Remote\RemoteHostClientServiceFactoryTests.cs (1)
25private static readonly TestComposition s_composition = FeaturesTestCompositions.Features.WithTestHostParts(TestHost.OutOfProcess);
Remote\SnapshotSerializationTests.cs (1)
42=> new AdhocWorkspace(FeaturesTestCompositions.Features.AddParts(additionalParts).WithTestHostParts(TestHost.OutOfProcess).GetHostServices());
Services\ServiceHubServicesTests.cs (1)
44=> new(composition: FeaturesTestCompositions.Features.WithTestHostParts(TestHost.OutOfProcess).AddParts(additionalParts));
Services\SolutionServiceTests.cs (1)
36private static readonly TestComposition s_composition = FeaturesTestCompositions.Features.WithTestHostParts(TestHost.OutOfProcess);
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (1)
250var composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(TestHost.OutOfProcess);