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