35 references to CreateCSharpCPSProjectAsync
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (35)
ProjectSystemShim\CPS\AdditionalPropertiesTests.cs (5)
30using (var project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test")) 56using var cpsProject = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"); 83using var cpsProject = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"); 127using var cpsProject = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"); 160using (var project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"))
ProjectSystemShim\CPS\AnalyzersTests.cs (3)
33using var project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"); 61using var project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"); 78using (var project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"))
ProjectSystemShim\CPS\CSharpCompilerOptionsTests.cs (9)
31using var project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test", commandLineArguments: @"/doc:DocFile.xml"); 40using var project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test", commandLineArguments: @"/doc:"); 49using var project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test", commandLineArguments: @"/warnaserror:CS1111"); 65using var project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test", commandLineArguments: $"/out:{initialObjPath}"); 134using IWorkspaceProjectContext projectContext = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"); 145using IWorkspaceProjectContext project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"); 160using IWorkspaceProjectContext project = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"); 182using var cpsProject = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test"); 195using var cpsProject = await CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test");
ProjectSystemShim\CPS\CSharpReferencesTests.cs (8)
31var project1 = await CreateCSharpCPSProjectAsync(environment, "project1", commandLineArguments: @"/out:c:\project1.dll"); 32var project2 = await CreateCSharpCPSProjectAsync(environment, "project2", commandLineArguments: @"/out:c:\project2.dll"); 33var project3 = await CreateCSharpCPSProjectAsync(environment, "project3", commandLineArguments: @"/out:c:\project3.dll"); 34var project4 = await CreateCSharpCPSProjectAsync(environment, "project4"); 96var project1 = await CreateCSharpCPSProjectAsync(environment, "project1", commandLineArguments: @"/out:c:\project1.dll"); 97var project2 = await CreateCSharpCPSProjectAsync(environment, "project2"); 116var project1 = await CreateCSharpCPSProjectAsync(environment, "project1", commandLineArguments: @"/out:c:\project1.dll"); 132using var project = await CreateCSharpCPSProjectAsync(environment, "project1");
ProjectSystemShim\CPS\SourceFileHandlingTests.cs (10)
30using var project = await CreateCSharpCPSProjectAsync(environment, "project1"); 49using var project = await CreateCSharpCPSProjectAsync(environment, "project1"); 67using var project = await CreateCSharpCPSProjectAsync(environment, "project1"); 117using var project = await CreateCSharpCPSProjectAsync(environment, "project1"); 159using var project = await CreateCSharpCPSProjectAsync(environment, "project1"); 213using var project = await CreateCSharpCPSProjectAsync(environment, "project1"); 252using var project = await CreateCSharpCPSProjectAsync(environment, "project1"); 291using var project = await CreateCSharpCPSProjectAsync(environment, "project1"); 327using var project = await CreateCSharpCPSProjectAsync(environment, "project1"); 375using var project = await CreateCSharpCPSProjectAsync(environment, "project1");