43 references to OutOfProcess
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
ConvertTupleToStruct\ConvertTupleToStructTests.cs (1)
48TestHost testHost = TestHost.OutOfProcess,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
TaskList\AbstractTaskListTests.cs (2)
20private static readonly TestComposition s_outOffProcessComposition = s_inProcessComposition.WithTestHostParts(TestHost.OutOfProcess); 23=> CreateWorkspace(codeWithMarker, host == TestHost.OutOfProcess ? s_outOffProcessComposition : s_inProcessComposition);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (17)
InheritanceMargin\InheritanceMarginTests.cs (17)
27private static readonly TestComposition s_outOffProcessComposition = s_inProcessComposition.WithTestHostParts(TestHost.OutOfProcess); 500[InlineData("class", TestHost.OutOfProcess)] 502[InlineData("struct", TestHost.OutOfProcess)] 504[InlineData("enum", TestHost.OutOfProcess)] 506[InlineData("interface", TestHost.OutOfProcess)] 518[InlineData("public Bar() { }", TestHost.OutOfProcess)] 520[InlineData("public static void Bar3() { }", TestHost.OutOfProcess)] 522[InlineData("public static void ~Bar() { }", TestHost.OutOfProcess)] 524[InlineData("public static Bar operator +(Bar a, Bar b) => new Bar();", TestHost.OutOfProcess)] 803[InlineData("abstract", TestHost.OutOfProcess)] 805[InlineData("virtual", TestHost.OutOfProcess)] 1036[InlineData("abstract", TestHost.OutOfProcess)] 1038[InlineData("virtual", TestHost.OutOfProcess)] 1653[InlineData("Class", TestHost.OutOfProcess)] 1655[InlineData("Structure", TestHost.OutOfProcess)] 1657[InlineData("Enum", TestHost.OutOfProcess)] 1659[InlineData("Interface", TestHost.OutOfProcess)]
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (10)
NavigationBar\TestHelpers.vb (5)
22Private ReadOnly s_oopComposition As TestComposition = s_composition.WithTestHostParts(Remote.Testing.TestHost.OutOfProcess) 33Using workspace = EditorTestWorkspace.Create(workspaceElement, composition:=If(host = TestHost.OutOfProcess, s_oopComposition, s_composition)) 54Using workspace = EditorTestWorkspace.Create(workspaceElement, composition:=If(host = TestHost.OutOfProcess, s_oopComposition, s_composition)) 87Using workspace = EditorTestWorkspace.Create(workspaceElement, composition:=If(host = TestHost.OutOfProcess, s_oopComposition, s_composition)) 117Using workspace = EditorTestWorkspace.Create(workspaceElement, composition:=If(host = TestHost.OutOfProcess, s_oopComposition, s_composition))
ReferenceHighlighting\AbstractReferenceHighlightingTests.vb (1)
19Private Shared ReadOnly s_composition As TestComposition = EditorTestCompositions.EditorFeatures.WithTestHostParts(TestHost.OutOfProcess).AddParts(
Rename\RenameEngineResult.vb (1)
68composition = composition.WithTestHostParts(TestHost.OutOfProcess)
UnitTesting\UnitTestingSearchHelpersTests.vb (1)
13Private Shared ReadOnly s_outOffProcessComposition As TestComposition = s_inProcessComposition.WithTestHostParts(TestHost.OutOfProcess)
UnitTesting\UnitTestingSearchHelpersTests_CSharp.vb (1)
13composition:=If(host = TestHost.OutOfProcess, s_outOffProcessComposition, s_inProcessComposition))
UnitTesting\UnitTestingSearchHelpersTests_VisualBasic.vb (1)
13composition:=If(host = TestHost.OutOfProcess, s_outOffProcessComposition, s_inProcessComposition))
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (3)
SimplifyTypeNames\SimplifyTypeNamesTests.vb (3)
1825Using workspace = TestWorkspace.CreateVisualBasic(source.Value, composition:=GetComposition().WithTestHostParts(TestHost.OutOfProcess)) 1873Using workspace = TestWorkspace.CreateVisualBasic(source.Value, composition:=GetComposition().WithTestHostParts(TestHost.OutOfProcess)) 1907Using workspace = TestWorkspace.CreateVisualBasic(source.Value, composition:=GetComposition().WithTestHostParts(TestHost.OutOfProcess))
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
FindAllDeclarationsTests.TestSolutionsAndProject.cs (4)
77private Workspace CreateWorkspace(TestHost testHost = TestHost.OutOfProcess) 82if (testHost == TestHost.OutOfProcess) 125private Workspace CreateWorkspaceWithSolution(SolutionKind solutionKind, out Solution solution, TestHost testHost = TestHost.OutOfProcess) 140private Workspace CreateWorkspaceWithProject(SolutionKind solutionKind, out Project project, TestHost testHost = TestHost.OutOfProcess)
Remote\ServiceDescriptorTests.cs (1)
364var hostServices = FeaturesTestCompositions.Features.WithTestHostParts(Testing.TestHost.OutOfProcess).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);