8 references to GetRequiredState
Microsoft.CodeAnalysis.Workspaces (8)
Workspace\Solution\SolutionCompilationState.cs (5)
835var oldDocumentState = oldDocumentStates.GetRequiredState(documentId); 901var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.DocumentStates.GetRequiredState(s.Id), oldProjectState); 908var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.AdditionalDocumentStates.GetRequiredState(s.Id), oldProjectState); 915var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.AnalyzerConfigDocumentStates.GetRequiredState(s.Id), oldProjectState); 1712removedDocumentStates.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);