162 references to CreateWorkspace
Microsoft.CodeAnalysis.Workspaces.UnitTests (162)
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)
54var workspace = CreateWorkspace(); 73var workspace = CreateWorkspace(); 114using var workspace = CreateWorkspace(); 123using var workspace = CreateWorkspace(); 133using var workspace = CreateWorkspace(); 142using var workspace = CreateWorkspace(); 152using var workspace = CreateWorkspace(); 161using var workspace = CreateWorkspace(); 328using var workspace = CreateWorkspace(); 834using var workspace = CreateWorkspace(); 1076using var workspace = CreateWorkspace(); 1295using var workspace = CreateWorkspace(); 1330using var workspace = CreateWorkspace(); 1365using var workspace = CreateWorkspace(); 1400using var workspace = CreateWorkspace(); 1435using var workspace = CreateWorkspace(); 1457using var workspace = CreateWorkspace(); 1485using var workspace = CreateWorkspace(); 1512using var workspace = CreateWorkspace(); 1535using var workspace = CreateWorkspace(); 1558using var workspace = CreateWorkspace(); 1581using var workspace = CreateWorkspace(); 1614using var workspace = CreateWorkspace(); 1672using var workspace = CreateWorkspace(); 1695using var workspace = CreateWorkspace(); 1718using var workspace = CreateWorkspace(); 1734using var workspace = CreateWorkspace(); 1760using var workspace = CreateWorkspace(); 1784using var workspace = CreateWorkspace(); 1818using var workspace = CreateWorkspace(); 1856using var workspace = CreateWorkspace(); 1875using var workspace = CreateWorkspace(); 1894using var workspace = CreateWorkspace(); 2036using var workspace = CreateWorkspace(); 2358using var workspace = CreateWorkspace(); 2383using var workspace = CreateWorkspace(); 2414using var workspace = CreateWorkspace(); 2442using var workspace = CreateWorkspace(); 2471using var workspace = CreateWorkspace(); 2502using var workspace = CreateWorkspace(); 2526using var workspace = CreateWorkspace(); 2539using var workspace = CreateWorkspace(); 2551using var workspace = CreateWorkspace(); 2566using var workspace = CreateWorkspace(); 2612using var workspace = CreateWorkspace(); 2636using var workspace = CreateWorkspace(); 2664using var workspace = CreateWorkspace(); 2674using var workspace = CreateWorkspace(); 2688using var workspace = CreateWorkspace(); 2709using var workspace = CreateWorkspace(); 2730using var workspace = CreateWorkspace(); 2749using var workspace = CreateWorkspace(); 2768using var workspace = CreateWorkspace(); 2782using var workspace = CreateWorkspace(); 2796using var workspace = CreateWorkspace(); 2818using var workspace = CreateWorkspace(); 2922using var workspace = CreateWorkspace(); 2943using var workspace = CreateWorkspace(); 2981using var workspace = CreateWorkspace(); 3039using var workspace = CreateWorkspace(); 3057using var workspace = CreateWorkspace(); 3076using var workspace = CreateWorkspace(); 3102using var workspace = CreateWorkspace(); 3138using var workspace = CreateWorkspace(); 3159using var workspace = CreateWorkspace(); 3182using var workspace = CreateWorkspace(); 3222using var workspace = CreateWorkspace(); 3264using var workspace = CreateWorkspace(); 3295using var workspace = CreateWorkspace(); 3326using var workspace = CreateWorkspace(); 3348using var workspace = CreateWorkspace(); 3369using var workspace = CreateWorkspace(); 3393using var workspace = CreateWorkspace(); 3415using var workspace = CreateWorkspace(); 3436using var workspace = CreateWorkspace(); 3456using var workspace = CreateWorkspace(); 3476using var workspace = CreateWorkspace(); 3496using var workspace = CreateWorkspace(); 3515using var workspace = CreateWorkspace(); 3546using var workspace = CreateWorkspace(); 3578using var workspace = CreateWorkspace(); 3604using var workspace = CreateWorkspace(); 3638using var workspace = CreateWorkspace(); 3668using var workspace = CreateWorkspace(); 3719using var workspace = CreateWorkspace(); 3744using var workspace = CreateWorkspace(); 3767using var workspace = CreateWorkspace(); 4562using var workspace = CreateWorkspace(); 4578using var workspace = CreateWorkspace(); 4649using var workspace = CreateWorkspace(); 4686using var workspace = CreateWorkspace(); 4722using var workspace = CreateWorkspace(); 4763using var workspace = CreateWorkspace(); 4809using var workspace = CreateWorkspace(); 4840using var workspace = CreateWorkspace(); 4891using var workspace = CreateWorkspace([typeof(NoCompilationLanguageService)]); 4912using var workspace = CreateWorkspace([typeof(NoCompilationLanguageService)]); 4932using var workspace = CreateWorkspace([typeof(NoCompilationLanguageService)]); 4950using var workspace = CreateWorkspace(); 4973using var workspace = CreateWorkspace(); 4995using var workspace = CreateWorkspace(); 5023using var workspace = CreateWorkspace(); 5051using var workspace = CreateWorkspace(); 5080using var workspace = CreateWorkspace(); 5111using var workspace = CreateWorkspace(); 5149using var workspace = CreateWorkspace(); 5166using var workspace = CreateWorkspace(); 5212using var workspace = CreateWorkspace(); 5256using var workspace = CreateWorkspace(); 5418using var workspace = CreateWorkspace(); 5452using var workspace = CreateWorkspace(); 5535using var workspace = CreateWorkspace(); 5572using var workspace = CreateWorkspace(); 5594using var workspace = CreateWorkspace(); 5834using var workspace = CreateWorkspace();
SolutionTests\SolutionWithSourceGeneratorTests.cs (29)
46using var workspace = CreateWorkspace(testHost: testHost); 78using var workspace = CreateWorkspace(testHost: testHost); 126using var workspace = CreateWorkspace(testHost: testHost); 157using var workspace = CreateWorkspace(testHost: testHost); 178using var workspace = CreateWorkspace([typeof(TestCSharpCompilationFactoryServiceWithIncrementalGeneratorTracking)]); 251using var workspace = CreateWorkspace(testHost: testHost); 291using var workspace = CreateWorkspace(testHost: testHost); 363using var workspace = CreateWorkspace(testHost: testHost); 385using var workspace = CreateWorkspace(testHost: testHost); 416using var workspace = CreateWorkspace(testHost: testHost); 441using var workspace = CreateWorkspace(testHost: testHost); 478using var workspace = CreateWorkspace(testHost: testHost); 498using var workspace = CreateWorkspace(testHost: testHost); 520using var workspace = CreateWorkspace(testHost: testHost); 574using var workspace = CreateWorkspace(testHost: testHost); 586using var workspace = CreateWorkspace(testHost: testHost); 610using var workspace = CreateWorkspace(testHost: testHost); 629using var workspace = CreateWorkspace(testHost: testHost); 657using var workspace = CreateWorkspace(testHost: testHost); 688using var workspace = CreateWorkspace(testHost: testHost); 837using var workspace = CreateWorkspace(testHost: testHost); 865using var workspace = CreateWorkspace(testHost: testHost); 898using var workspace = CreateWorkspace(testHost: testHost); 923using var workspace = CreateWorkspace(testHost: testHost); 941using var workspace = CreateWorkspace(testHost: testHost); 1212using var workspace = CreateWorkspace(testHost: testHost); 1247using var workspace = CreateWorkspace(testHost: testHost); 1284using var workspace = CreateWorkspace(testHost: testHost); 1315using var workspace = CreateWorkspace(testHost: testHost);