15 references to GetProjectState
Microsoft.CodeAnalysis.Workspaces (15)
Workspace\Solution\Solution.cs (4)
86internal ProjectState? GetProjectState(ProjectId projectId) => this.SolutionState.GetProjectState(projectId); 156var state = solution.SolutionState.GetProjectState(projectId); 1116=> this.SolutionState.GetProjectState(projectId) ?? throw new InvalidOperationException(string.Format(WorkspacesResources._0_is_not_part_of_the_workspace, projectId)); 1853var referencedProjectState = this.SolutionState.GetProjectState(projectReference.ProjectId);
Workspace\Solution\SolutionCompilationState.cs (1)
1091var projectState = solution.GetProjectState(projectId);
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (1)
24var projectState = this.SolutionState.GetProjectState(documentId.ProjectId);
Workspace\Solution\SolutionState.cs (7)
276this.GetProjectState(documentId.ProjectId)!.DocumentStates.Contains(documentId); 287this.GetProjectState(documentId.ProjectId)!.AdditionalDocumentStates.Contains(documentId); 298this.GetProjectState(documentId.ProjectId)!.AnalyzerConfigDocumentStates.Contains(documentId); 315var result = GetProjectState(projectId); 1241var projectState = this.GetProjectState(documentId.ProjectId); 1292var projectState = this.GetProjectState(documentId.ProjectId); 1319var projectState = @this.GetProjectState(documentId.ProjectId);
Workspace\Solution\SolutionState_Checksum.cs (1)
173var projectState = this.GetProjectState(projectConeId);
Workspace\Solution\StateChecksums.cs (1)
318var projectState = solution.GetProjectState(assetPath.ProjectId);