49 references to InProcess
Microsoft.CodeAnalysis.CodeStyle.LegacyTestFramework.UnitTestUtilities (3)
AbstractCodeActionOrUserDiagnosticTest.cs (3)
78TestHost testHost = TestHost.InProcess, 385TestHost testHost = TestHost.InProcess) 425TestHost testHost = TestHost.InProcess)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Classification\SyntacticClassifierTests.cs (2)
5644using var workspace = CreateWorkspace(source, options: null, TestHost.InProcess); 5672using var workspace = CreateWorkspace(source, options: null, TestHost.InProcess);
ConvertTupleToStruct\ConvertTupleToStructTests.cs (1)
46TestHost testHost = TestHost.InProcess,
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (9)
CodeActions\AbstractCodeActionOrUserDiagnosticTest.cs (3)
78TestHost testHost = TestHost.InProcess, 385TestHost testHost = TestHost.InProcess) 425TestHost testHost = TestHost.InProcess)
CodeActions\CSharpCodeRefactoringVerifier`1+Test.cs (3)
121/// The <see cref="TestHost"/> we want this test to run in. Defaults to <see cref="TestHost.InProcess"/> if unspecified. 123public TestHost TestHost { get; set; } = TestHost.InProcess; 129if (TestHost == TestHost.InProcess)
CodeActions\VisualBasicCodeRefactoringVerifier`1+Test.cs (3)
107/// The <see cref="TestHost"/> we want this test to run in. Defaults to <see cref="TestHost.InProcess"/> if unspecified. 109public TestHost TestHost { get; set; } = TestHost.InProcess; 115if (TestHost == TestHost.InProcess)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (19)
EditAndContinue\RemoteEditAndContinueServiceTests.cs (2)
51if (testHost == TestHost.InProcess) 62if (testHost == TestHost.InProcess)
InheritanceMargin\InheritanceMarginTests.cs (17)
57composition: testHost == TestHost.InProcess ? s_inProcessComposition : s_outOffProcessComposition); 86composition: testHost == TestHost.InProcess ? s_inProcessComposition : s_outOffProcessComposition); 210composition: testHost == TestHost.InProcess ? s_inProcessComposition : s_outOffProcessComposition); 497[InlineData("class", TestHost.InProcess)] 499[InlineData("struct", TestHost.InProcess)] 501[InlineData("enum", TestHost.InProcess)] 503[InlineData("interface", TestHost.InProcess)] 515[InlineData("public Bar() { }", TestHost.InProcess)] 517[InlineData("public static void Bar3() { }", TestHost.InProcess)] 519[InlineData("public static void ~Bar() { }", TestHost.InProcess)] 521[InlineData("public static Bar operator +(Bar a, Bar b) => new Bar();", TestHost.InProcess)] 801[InlineData("abstract", TestHost.InProcess)] 803[InlineData("virtual", TestHost.InProcess)] 1534[InlineData("Class", TestHost.InProcess)] 1536[InlineData("Structure", TestHost.InProcess)] 1538[InlineData("Enum", TestHost.InProcess)] 1540[InlineData("Interface", TestHost.InProcess)]
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (3)
FindReferences\FindReferencesTests.Literals.vb (1)
323Await TestStreamingFeature(test, TestHost.InProcess) ' TODO: support out of proc in tests: https://github.com/dotnet/roslyn/issues/50494
FindReferences\FindReferencesTests.NamespaceSymbols.vb (1)
514Await TestAPI(input, TestHost.InProcess) ' TODO: support out of proc in tests: https://github.com/dotnet/roslyn/issues/50494
GoToBase\GoToBaseTestsBase.vb (1)
16testHost:=TestHost.InProcess,
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (8)
ConvertTupleToStruct\ConvertTupleToStructTests.vb (1)
28Optional testHost As TestHost = TestHost.InProcess,
Diagnostics\AddImport\AddImportTests.vb (2)
2439End Namespace", TestHost.InProcess) 2467Dim a = New Test()", TestHost.InProcess)
Diagnostics\AddImport\AddImportTestsWithAddImportDiagnosticProvider.vb (5)
31End Class", TestHost.InProcess) 50End Class", TestHost.InProcess) 63End Class", TestHost.InProcess) 76End Module", TestHost.InProcess) 86End Module", TestHost.InProcess)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\FeaturesTestCompositions.cs (1)
27=> (host == TestHost.InProcess) ? composition : composition.AddAssemblies(typeof(RemoteWorkspacesResources).Assembly).AddParts(typeof(InProcRemoteHostClientProvider.Factory));
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
FindAllDeclarationsTests.TestSolutionsAndProject.cs (3)
77private Workspace CreateWorkspace(TestHost testHost = TestHost.InProcess) 125private Workspace CreateWorkspaceWithSolution(SolutionKind solutionKind, out Solution solution, TestHost testHost = TestHost.InProcess) 140private Workspace CreateWorkspaceWithProject(SolutionKind solutionKind, out Project project, TestHost testHost = TestHost.InProcess)