11 references to GetState
Microsoft.CodeAnalysis.Workspaces (11)
Workspace\Solution\ChecksumCollection.cs (1)
67
var state = documentStates.
GetState
(hintDocument);
Workspace\Solution\Project.cs (1)
351
var generatedDocumentState = generatedDocumentStates.
GetState
(documentId);
Workspace\Solution\SolutionCompilationState.cs (2)
1731
var oldDocumentState = oldProjectState.DocumentStates.
GetState
(documentId);
1894
var documentState = this.SolutionState.GetProjectState(documentId.ProjectId)?.DocumentStates.
GetState
(documentId);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
914
return state is FinalCompilationTrackerState finalState ? finalState.GeneratorInfo.Documents.
GetState
(documentId) : null;
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
125
var existingDocument = oldGeneratedDocuments.
GetState
(documentId);
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (1)
27
var document = projectState.DocumentStates.
GetState
(documentId);
Workspace\Solution\SolutionState.cs (2)
1270
var documentState = projectState.DocumentStates.
GetState
(documentId);
1325
var documentState = projectState.DocumentStates.
GetState
(documentId);
Workspace\Workspace.cs (2)
1787
var document = projectChanges.OldProject.State.DocumentStates.
GetState
(documentId) ??
1788
projectChanges.NewProject.State.DocumentStates.
GetState
(documentId)!;