159 references to CreateWorkspace
Microsoft.CodeAnalysis.Workspaces.UnitTests (159)
SolutionTests\ProjectSemanticVersionTests.cs (18)
21using var workspace = CreateWorkspace(); 30using var workspace = CreateWorkspace(); 40using var workspace = CreateWorkspace(); 54using var workspace = CreateWorkspace(); 68using var workspace = CreateWorkspace(); 82using var workspace = CreateWorkspace(); 96using var workspace = CreateWorkspace(); 110using var workspace = CreateWorkspace(); 124using var workspace = CreateWorkspace(); 138using var workspace = CreateWorkspace(); 152using var workspace = CreateWorkspace(); 166using var workspace = CreateWorkspace(); 180using var workspace = CreateWorkspace(); 194using var workspace = CreateWorkspace(); 208using var workspace = CreateWorkspace(); 222using var workspace = CreateWorkspace(); 236using var workspace = CreateWorkspace(); 250using var workspace = CreateWorkspace();
SolutionTests\SolutionTests.cs (115)
56var workspace = CreateWorkspace(); 75var workspace = CreateWorkspace(); 116using var workspace = CreateWorkspace(); 125using var workspace = CreateWorkspace(); 135using var workspace = CreateWorkspace(); 144using var workspace = CreateWorkspace(); 154using var workspace = CreateWorkspace(); 163using var workspace = CreateWorkspace(); 330using var workspace = CreateWorkspace(); 836using var workspace = CreateWorkspace(); 1078using var workspace = CreateWorkspace(); 1297using var workspace = CreateWorkspace(); 1332using var workspace = CreateWorkspace(); 1367using var workspace = CreateWorkspace(); 1402using var workspace = CreateWorkspace(); 1437using var workspace = CreateWorkspace(); 1459using var workspace = CreateWorkspace(); 1487using var workspace = CreateWorkspace(); 1514using var workspace = CreateWorkspace(); 1537using var workspace = CreateWorkspace(); 1560using var workspace = CreateWorkspace(); 1583using var workspace = CreateWorkspace(); 1616using var workspace = CreateWorkspace(); 1674using var workspace = CreateWorkspace(); 1697using var workspace = CreateWorkspace(); 1720using var workspace = CreateWorkspace(); 1736using var workspace = CreateWorkspace(); 1762using var workspace = CreateWorkspace(); 1786using var workspace = CreateWorkspace(); 1820using var workspace = CreateWorkspace(); 1858using var workspace = CreateWorkspace(); 1877using var workspace = CreateWorkspace(); 1896using var workspace = CreateWorkspace(); 2038using var workspace = CreateWorkspace(); 2360using var workspace = CreateWorkspace(); 2385using var workspace = CreateWorkspace(); 2416using var workspace = CreateWorkspace(); 2444using var workspace = CreateWorkspace(); 2473using var workspace = CreateWorkspace(); 2504using var workspace = CreateWorkspace(); 2528using var workspace = CreateWorkspace(); 2541using var workspace = CreateWorkspace(); 2553using var workspace = CreateWorkspace(); 2568using var workspace = CreateWorkspace(); 2614using var workspace = CreateWorkspace(); 2638using var workspace = CreateWorkspace(); 2666using var workspace = CreateWorkspace(); 2676using var workspace = CreateWorkspace(); 2690using var workspace = CreateWorkspace(); 2711using var workspace = CreateWorkspace(); 2732using var workspace = CreateWorkspace(); 2751using var workspace = CreateWorkspace(); 2770using var workspace = CreateWorkspace(); 2784using var workspace = CreateWorkspace(); 2798using var workspace = CreateWorkspace(); 2820using var workspace = CreateWorkspace(); 2921using var workspace = CreateWorkspace(); 2942using var workspace = CreateWorkspace(); 2980using var workspace = CreateWorkspace(); 3038using var workspace = CreateWorkspace(); 3056using var workspace = CreateWorkspace(); 3075using var workspace = CreateWorkspace(); 3101using var workspace = CreateWorkspace(); 3137using var workspace = CreateWorkspace(); 3158using var workspace = CreateWorkspace(); 3181using var workspace = CreateWorkspace(); 3221using var workspace = CreateWorkspace(); 3263using var workspace = CreateWorkspace(); 3294using var workspace = CreateWorkspace(); 3325using var workspace = CreateWorkspace(); 3347using var workspace = CreateWorkspace(); 3368using var workspace = CreateWorkspace(); 3392using var workspace = CreateWorkspace(); 3414using var workspace = CreateWorkspace(); 3435using var workspace = CreateWorkspace(); 3455using var workspace = CreateWorkspace(); 3475using var workspace = CreateWorkspace(); 3495using var workspace = CreateWorkspace(); 3514using var workspace = CreateWorkspace(); 3545using var workspace = CreateWorkspace(); 3577using var workspace = CreateWorkspace(); 3603using var workspace = CreateWorkspace(); 3637using var workspace = CreateWorkspace(); 3667using var workspace = CreateWorkspace(); 3718using var workspace = CreateWorkspace(); 3743using var workspace = CreateWorkspace(); 3766using var workspace = CreateWorkspace(); 4546using var workspace = CreateWorkspace(); 4562using var workspace = CreateWorkspace(); 4633using var workspace = CreateWorkspace(); 4670using var workspace = CreateWorkspace(); 4706using var workspace = CreateWorkspace(); 4747using var workspace = CreateWorkspace(); 4793using var workspace = CreateWorkspace(); 4824using var workspace = CreateWorkspace(); 4875using var workspace = CreateWorkspace([typeof(NoCompilationLanguageService)]); 4896using var workspace = CreateWorkspace([typeof(NoCompilationLanguageService)]); 4916using var workspace = CreateWorkspace([typeof(NoCompilationLanguageService)]); 4934using var workspace = CreateWorkspace(); 4957using var workspace = CreateWorkspace(); 4979using var workspace = CreateWorkspace(); 5007using var workspace = CreateWorkspace(); 5035using var workspace = CreateWorkspace(); 5064using var workspace = CreateWorkspace(); 5095using var workspace = CreateWorkspace(); 5133using var workspace = CreateWorkspace(); 5150using var workspace = CreateWorkspace(); 5196using var workspace = CreateWorkspace(); 5240using var workspace = CreateWorkspace(); 5385using var workspace = CreateWorkspace(); 5419using var workspace = CreateWorkspace(); 5502using var workspace = CreateWorkspace(); 5539using var workspace = CreateWorkspace(); 5561using var workspace = CreateWorkspace(); 5801using var workspace = CreateWorkspace();
SolutionTests\SolutionWithSourceGeneratorTests.cs (26)
47using var workspace = CreateWorkspace(testHost: testHost); 79using var workspace = CreateWorkspace(testHost: testHost); 127using var workspace = CreateWorkspace(testHost: testHost); 158using var workspace = CreateWorkspace(testHost: testHost); 179using var workspace = CreateWorkspace([typeof(TestCSharpCompilationFactoryServiceWithIncrementalGeneratorTracking)]); 252using var workspace = CreateWorkspace(testHost: testHost); 292using var workspace = CreateWorkspace(testHost: testHost); 364using var workspace = CreateWorkspace(testHost: testHost); 386using var workspace = CreateWorkspace(testHost: testHost); 417using var workspace = CreateWorkspace(testHost: testHost); 442using var workspace = CreateWorkspace(testHost: testHost); 479using var workspace = CreateWorkspace(testHost: testHost); 499using var workspace = CreateWorkspace(testHost: testHost); 521using var workspace = CreateWorkspace(testHost: testHost); 575using var workspace = CreateWorkspace(testHost: testHost); 587using var workspace = CreateWorkspace(testHost: testHost); 611using var workspace = CreateWorkspace(testHost: testHost); 630using var workspace = CreateWorkspace(testHost: testHost); 658using var workspace = CreateWorkspace(testHost: testHost); 689using var workspace = CreateWorkspace(testHost: testHost); 838using var workspace = CreateWorkspace(testHost: testHost); 866using var workspace = CreateWorkspace(testHost: testHost); 899using var workspace = CreateWorkspace(testHost: testHost); 924using var workspace = CreateWorkspace(testHost: testHost); 942using var workspace = CreateWorkspace(testHost: testHost); 1011using var workspace = CreateWorkspace([typeof(TestWorkspaceConfigurationService)], TestHost.OutOfProcess);