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