8 references to GetState
Microsoft.CodeAnalysis.Workspaces (8)
Workspace\Solution\ChecksumCollection.cs (1)
67
var state = documentStates.
GetState
(hintDocument);
Workspace\Solution\SolutionCompilationState.cs (1)
1608
var oldDocumentState = oldProjectState.DocumentStates.
GetState
(documentId);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
904
return state is FinalCompilationTrackerState finalState ? finalState.GeneratorInfo.Documents.
GetState
(documentId) : null;
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (1)
27
var document = projectState.DocumentStates.
GetState
(documentId);
Workspace\Solution\SolutionState.cs (2)
1245
var documentState = projectState.DocumentStates.
GetState
(documentId);
1299
var documentState = projectState.DocumentStates.
GetState
(documentId);
Workspace\Workspace.cs (2)
1717
var document = projectChanges.OldProject.State.DocumentStates.
GetState
(documentId) ??
1718
projectChanges.NewProject.State.DocumentStates.
GetState
(documentId)!;