35 references to OutOfProcess
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Classification\SyntacticClassifierTests.cs (3)
1654[InlineData(TestHost.OutOfProcess, "true", false)] 1656[InlineData(TestHost.OutOfProcess, "return", true)] 1658[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); 508[InlineData("class", TestHost.OutOfProcess)] 510[InlineData("struct", TestHost.OutOfProcess)] 512[InlineData("enum", TestHost.OutOfProcess)] 514[InlineData("interface", TestHost.OutOfProcess)] 525[InlineData("public Bar() { }", TestHost.OutOfProcess)] 527[InlineData("public static void Bar3() { }", TestHost.OutOfProcess)] 529[InlineData("public static void ~Bar() { }", TestHost.OutOfProcess)] 531[InlineData("public static Bar operator +(Bar a, Bar b) => new Bar();", TestHost.OutOfProcess)] 812[InlineData("abstract", TestHost.OutOfProcess)] 814[InlineData("virtual", TestHost.OutOfProcess)] 1049[InlineData("abstract", TestHost.OutOfProcess)] 1051[InlineData("virtual", TestHost.OutOfProcess)] 1654[InlineData("Class", TestHost.OutOfProcess)] 1656[InlineData("Structure", TestHost.OutOfProcess)] 1658[InlineData("Enum", TestHost.OutOfProcess)] 1660[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)
367var hostServices = FeaturesTestCompositions.Features.WithTestHostParts(Testing.TestHost.OutOfProcess).GetHostServices();
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
1404using var workspace = CreateWorkspace([], TestHost.OutOfProcess); 1493composition: 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)
247var composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(TestHost.OutOfProcess);