35 references to OutOfProcess
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Classification\SyntacticClassifierTests.cs (3)
1583[InlineData(TestHost.OutOfProcess, "true", false)] 1585[InlineData(TestHost.OutOfProcess, "return", true)] 1587[InlineData(TestHost.OutOfProcess, "with", false)]
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
ConvertTupleToStruct\ConvertTupleToStructTests.cs (1)
47TestHost 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)
28private static readonly TestComposition s_outOffProcessComposition = s_inProcessComposition.WithTestHostParts(TestHost.OutOfProcess); 509[InlineData("class", TestHost.OutOfProcess)] 511[InlineData("struct", TestHost.OutOfProcess)] 513[InlineData("enum", TestHost.OutOfProcess)] 515[InlineData("interface", TestHost.OutOfProcess)] 526[InlineData("public Bar() { }", TestHost.OutOfProcess)] 528[InlineData("public static void Bar3() { }", TestHost.OutOfProcess)] 530[InlineData("public static void ~Bar() { }", TestHost.OutOfProcess)] 532[InlineData("public static Bar operator +(Bar a, Bar b) => new Bar();", TestHost.OutOfProcess)] 813[InlineData("abstract", TestHost.OutOfProcess)] 815[InlineData("virtual", TestHost.OutOfProcess)] 1050[InlineData("abstract", TestHost.OutOfProcess)] 1052[InlineData("virtual", TestHost.OutOfProcess)] 1655[InlineData("Class", TestHost.OutOfProcess)] 1657[InlineData("Structure", TestHost.OutOfProcess)] 1659[InlineData("Enum", TestHost.OutOfProcess)] 1661[InlineData("Interface", TestHost.OutOfProcess)]
Microsoft.CodeAnalysis.Workspaces.UnitTests (7)
FindAllDeclarationsTests.TestSolutionsAndProject.cs (4)
75private Workspace CreateWorkspace(TestHost testHost = TestHost.OutOfProcess) 80if (testHost == TestHost.OutOfProcess) 123private Workspace CreateWorkspaceWithSolution(SolutionKind solutionKind, out Solution solution, TestHost testHost = TestHost.OutOfProcess) 138private Workspace CreateWorkspaceWithProject(SolutionKind solutionKind, out Project project, TestHost testHost = TestHost.OutOfProcess)
Remote\ServiceDescriptorTests.cs (1)
364var hostServices = FeaturesTestCompositions.Features.WithTestHostParts(Testing.TestHost.OutOfProcess).GetHostServices();
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
1446using var workspace = CreateWorkspace([], TestHost.OutOfProcess); 1536composition: FeaturesTestCompositions.Features.WithTestHostParts(TestHost.OutOfProcess));
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)
51composition: FeaturesTestCompositions.Features.WithTestHostParts(TestHost.OutOfProcess)
Services\SolutionServiceTests.cs (1)
35private static readonly TestComposition s_composition = FeaturesTestCompositions.Features.WithTestHostParts(TestHost.OutOfProcess);
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (1)
242var composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(TestHost.OutOfProcess);