You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An earlier lamda uses Where with nullable Type (int?) HasValue. Later lamda dereferences ID.Value. It is a false positive because the first lamda ensures there are no null values.
// the cohorts in the databasevaravailable=ExtractableCohort.GetImportableCohortDefinitions(ect).Where(c=>c.ID.HasValue).ToArray();[...]// new ones we don't know about yetavailable=available.Where(c =>!existing.Contains(c.ID.Value)).ToArray();