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