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)
167
select (project, from documentId in projectDocumentIds select project.State.DocumentStates.
GetState
(documentId));
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\Solution\Project.cs (1)
308
var generatedDocumentState = generatedDocumentStates.
GetState
(documentId);
Workspace\Solution\SolutionState.CompilationTracker.cs (1)
1095
return state is FinalState finalState ? finalState.GeneratorInfo.Documents.
GetState
(documentId) : null;
Workspace\Solution\SolutionState.cs (3)
352
var document = projectState.DocumentStates.
GetState
(documentId);
1709
var documentState = projectState.DocumentStates.
GetState
(documentId);
1756
var doc = GetProjectState(documentId.ProjectId)?.DocumentStates.
GetState
(documentId);
Workspace\Workspace.cs (2)
1467
var document = projectChanges.OldProject.State.DocumentStates.
GetState
(documentId) ??
1468
projectChanges.NewProject.State.DocumentStates.
GetState
(documentId)!;