10 references to GetState
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Workspaces\WorkspaceTests_EditorFeatures.cs (2)
225.DocumentStates.GetState(document1.Id) 232.DocumentStates.GetState(document2.Id)
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\EditAndContinueWorkspaceService.cs (1)
167select (project, from documentId in projectDocumentIds select project.State.DocumentStates.GetState(documentId));
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\Solution\Project.cs (1)
308var generatedDocumentState = generatedDocumentStates.GetState(documentId);
Workspace\Solution\SolutionState.CompilationTracker.cs (1)
1095return state is FinalState finalState ? finalState.GeneratorInfo.Documents.GetState(documentId) : null;
Workspace\Solution\SolutionState.cs (3)
352var document = projectState.DocumentStates.GetState(documentId); 1709var documentState = projectState.DocumentStates.GetState(documentId); 1756var doc = GetProjectState(documentId.ProjectId)?.DocumentStates.GetState(documentId);
Workspace\Workspace.cs (2)
1467var document = projectChanges.OldProject.State.DocumentStates.GetState(documentId) ?? 1468projectChanges.NewProject.State.DocumentStates.GetState(documentId)!;