11 references to ContainsProject
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\CommittedSolution.cs (2)
219
if (committedDocument == null && !solution.
ContainsProject
(document.Project.Id))
283
Debug.Assert(_solution.
ContainsProject
(documentId.ProjectId));
Microsoft.CodeAnalysis.Workspaces (9)
Workspace\ProjectSystem\ProjectSystemProject.cs (2)
487
private bool HasBeenRemoved => !_projectSystemProjectFactory.Workspace.CurrentSolution.
ContainsProject
(Id);
1221
if (!_projectSystemProjectFactory.Workspace.CurrentSolution.
ContainsProject
(Id))
Workspace\Solution\Project.cs (1)
136
public IEnumerable<ProjectReference> ProjectReferences => State.ProjectReferences.Where(pr => this.Solution.
ContainsProject
(pr.ProjectId));
Workspace\Solution\Solution.cs (2)
152
if (this.
ContainsProject
(projectId))
1774
if (!
ContainsProject
(projectId))
Workspace\Solution\SolutionChanges.cs (2)
29
if (!OldSolution.
ContainsProject
(id))
56
if (!NewSolution.
ContainsProject
(id))
Workspace\Workspace.cs (2)
2332
if (!solution.
ContainsProject
(projectId))
2348
if (solution.
ContainsProject
(projectId))