8 references to GetRequiredState
Microsoft.CodeAnalysis.Workspaces (8)
Workspace\Solution\SolutionCompilationState.cs (5)
835
var oldDocumentState = oldDocumentStates.
GetRequiredState
(documentId);
901
var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.DocumentStates.
GetRequiredState
(s.Id), oldProjectState);
908
var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.AdditionalDocumentStates.
GetRequiredState
(s.Id), oldProjectState);
915
var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.AnalyzerConfigDocumentStates.
GetRequiredState
(s.Id), oldProjectState);
1712
removedDocumentStates.Add(oldDocumentStates.
GetRequiredState
(documentId));
Workspace\Solution\SolutionState.cs (3)
302
=> GetRequiredProjectState(documentId.ProjectId).DocumentStates.
GetRequiredState
(documentId);
305
=> GetRequiredProjectState(documentId.ProjectId).AdditionalDocumentStates.
GetRequiredState
(documentId);
308
=> GetRequiredProjectState(documentId.ProjectId).AnalyzerConfigDocumentStates.
GetRequiredState
(documentId);