8 references to GetRequiredState
Microsoft.CodeAnalysis.Workspaces (8)
Workspace\Solution\SolutionCompilationState.cs (5)
813
var oldDocumentState = oldDocumentStates.
GetRequiredState
(documentId);
879
var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.DocumentStates.
GetRequiredState
(s.Id), oldProjectState);
886
var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.AdditionalDocumentStates.
GetRequiredState
(s.Id), oldProjectState);
893
var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.AnalyzerConfigDocumentStates.
GetRequiredState
(s.Id), oldProjectState);
1690
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);