9 references to Contains
Microsoft.CodeAnalysis.Workspaces (9)
Workspace\Solution\Project.cs (3)
212=> State.DocumentStates.Contains(documentId); 218=> State.AdditionalDocumentStates.Contains(documentId); 224=> State.AnalyzerConfigDocumentStates.Contains(documentId);
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (1)
182if (newStates.Contains(id))
Workspace\Solution\SolutionState.cs (5)
276this.GetProjectState(documentId.ProjectId)!.DocumentStates.Contains(documentId); 287this.GetProjectState(documentId.ProjectId)!.AdditionalDocumentStates.Contains(documentId); 298this.GetProjectState(documentId.ProjectId)!.AnalyzerConfigDocumentStates.Contains(documentId); 815if (!oldProject.DocumentStates.Contains(id)) 1333return projectState.DocumentStates.Contains(documentId);