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