149 references to AddProject
IdeCoreBenchmarks (4)
Microsoft.AspNetCore.Analyzer.Testing (2)
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.Features.UnitTests (3)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (127)
FindAllDeclarationsTests.cs (5)
136.AddProject(csharpId, "CSharp", "CSharp", LanguageNames.CSharp)
141.AddProject(vbId, "VB", "VB", LanguageNames.VisualBasic)
162.AddProject(submission0Id, submission0Name, submission0Name, LanguageNames.CSharp)
177.AddProject(submission1Id, submission1Name, submission1Name, LanguageNames.CSharp)
700.AddProject(pid, "VBProject", "VBProject", LanguageNames.VisualBasic)
FindReferencesTests.cs (6)
64.AddProject(pid, "goo", "goo", languageName)
74.AddProject(pid, "goo", "goo", LanguageNames.CSharp)
123.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
173.AddProject(prj1Id, "testDeclareReferences", "testAssembly", LanguageNames.VisualBasic)
212.AddProject(prj1Id, "testDeclareReferences", "testAssembly", LanguageNames.VisualBasic)
276.AddProject(prj1Id, "testDeclareReferences", "testAssembly", LanguageNames.CSharp)
SolutionTests\SolutionTests.cs (101)
81.AddProject(projectId1, "proj1", "proj1.dll", LanguageNames.CSharp).WithProjectParseOptions(projectId1, parseOptions1)
85.AddProject(projectId2, "proj2", "proj2.dll", LanguageNames.CSharp).WithProjectParseOptions(projectId2, parseOptions2)
332.AddProject(projectId, "goo", "goo.dll", LanguageNames.CSharp)
842.AddProject(projectId1, "proj1", "proj1.dll", LanguageNames.CSharp).WithProjectParseOptions(projectId1, parseOptions1)
844.AddProject(projectId2, "proj2", "proj2.dll", LanguageNames.VisualBasic).WithProjectParseOptions(projectId2, parseOptions2)
1439.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1461.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1488var solution = workspace.CurrentSolution.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1516.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1539.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1562AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1585AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1622.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp)
1676.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1699.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1722.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1739.AddProject(projectId, "proj1", "proj1.dll", languageName);
1764.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp);
1788.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp)
1822.AddProject(projectId, "proj1", "proj1.dll", languageName)
1860.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp)
1879.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp)
1898.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp)
1917solution = solution.AddProject(projectId2, "proj2", "proj2.dll", LanguageNames.CSharp);
1968.AddProject(projectId2, "proj2", "proj2.dll", LanguageNames.CSharp)
1969.AddProject(projectId3, "proj3", "proj3.dll", LanguageNames.CSharp);
2008solution = solution.AddProject(projectId2, "proj2", "proj2.dll", LanguageNames.CSharp);
2047.AddProject(projectId0, "non-submission", "non-submission.dll", LanguageNames.CSharp)
2361var solution = workspace.CurrentSolution.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp).
2387var solution = workspace.CurrentSolution.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp).
2417var solution = workspace.CurrentSolution.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp).
2446var solution = workspace.CurrentSolution.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp).
2475var solution = workspace.CurrentSolution.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp).
2506var solution = workspace.CurrentSolution.AddProject(projectId, "proj1", "proj1.dll", LanguageNames.CSharp).
2531solution = solution.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp);
2544solution = solution.AddProject(project1, "goo", "goo.dll", LanguageNames.CSharp);
2557solution = solution.AddProject(project1, "name", "assemblyName", LanguageNames.CSharp);
2558solution = solution.AddProject(project2, "name", "assemblyName", LanguageNames.CSharp);
2570.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
2616.AddProject(projectId, "goo", "goo.dll", LanguageNames.CSharp)
2640.AddProject(projectId1, "project1", "project1.dll", LanguageNames.CSharp)
2641.AddProject(projectId2, "project2", "project2.dll", LanguageNames.CSharp)
2668.AddProject(projectId1, "project1", "project1.dll", LanguageNames.CSharp);
2692.AddProject(projectId, "project1", "project1.dll", LanguageNames.CSharp)
2713.AddProject(projectId1, "project1", "project1.dll", LanguageNames.CSharp)
2714.AddProject(projectId2, "project2", "project2.dll", LanguageNames.CSharp)
2734.AddProject(projectId1, "project1", "project1.dll", LanguageNames.CSharp)
2735.AddProject(projectId2, "project2", "project2.dll", LanguageNames.CSharp)
2753.AddProject(projectId1, "project1", "project1.dll", LanguageNames.CSharp)
2754.AddProject(projectId2, "project2", "project2.dll", LanguageNames.CSharp)
2772.AddProject(projectId1, "project1", "project1.dll", LanguageNames.CSharp)
2773.AddProject(projectId2, "project2", "project2.dll", LanguageNames.CSharp)
2806.AddProject(pm1, "goo", "goo.dll", LanguageNames.CSharp)
2807.AddProject(pm2, "bar", "bar.dll", LanguageNames.CSharp)
2823.AddProject(pm1, "goo", "goo.dll", LanguageNames.CSharp)
2825.AddProject(pm2, "bar", "bar.dll", LanguageNames.VisualBasic)
2927solution = solution.AddProject(projectIds[i], i.ToString(), i.ToString(), LanguageNames.CSharp);
2945solution = solution.AddProject(project1, "goo", "goo.dll", LanguageNames.CSharp);
2983solution = solution.AddProject(project1, "goo", "goo.dll", LanguageNames.CSharp);
3041solution = solution.AddProject(project1, "goo", "goo.dll", LanguageNames.CSharp);
3060sol = sol.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp);
3080sol = sol.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3081.AddProject(pid2, "bar", "bar.dll", LanguageNames.CSharp)
3106sol = sol.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3107.AddProject(pid2, "bar", "bar.dll", LanguageNames.CSharp)
3120var sol3 = sol2.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp);
3139.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3160.AddProject(projectId, "ProjectName", "AssemblyName", LanguageNames.CSharp)
3183.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3224.AddProject(pid, "test", "test.dll", language)
3265.AddProject(projectId, "goo", "goo.dll", LanguageNames.CSharp)
3300sol = sol.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3327.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3349.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3370.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3394.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3416.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3437.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3457.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3477.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3497.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3516.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3547.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3579.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3605.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3639.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3669.AddProject(pid, "goo", "goo.dll", LanguageNames.VisualBasic)
3720.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3745.AddProject(pid, "goo", "goo.dll", LanguageNames.CSharp)
3772.AddProject(pid, "test", "test.dll", language)
3911.AddProject(pid, "goo", "goo", LanguageNames.CSharp)
3959.AddProject(pid1, "GooA", "Goo.dll", LanguageNames.VisualBasic)
3962.AddProject(pid2, "GooB", "Goo2.dll", LanguageNames.VisualBasic)
3965.AddProject(pid3, "Bar", "Bar.dll", LanguageNames.CSharp)
4573solution = solution.AddProject(pid, "test", "test.dll", LanguageNames.CSharp);
4637solution = solution.AddProject(pid, "test", "test.dll", LanguageNames.CSharp);
4676solution = solution.AddProject(projectId, "Test", "Test.dll", languageName);
4712solution = solution.AddProject(projectId, "Test", "Test.dll", languageName);
4753solution = solution.AddProject(projectId, "Test", "Test.dll", languageName);
4798solution = solution.AddProject(projectId, "Test", "Test.dll", LanguageNames.CSharp);
4829solution = solution.AddProject(projectId, "Test", "Test.dll", LanguageNames.CSharp)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)