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