There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
ICollection <T> support for contains constraints.
ICollection<T> does not implement
ICollection, properties of this type cannot be used with contains constraints (although some concrete classes implement both
ICollection and will thus work).
It appears as though the
bool CheckIfCollectionContainsValue(ICollection collection) could be relaxed to
bool CheckIfCollectionContainsValue(IEnumerable collection) although I am not familiar enough with the codebase to say for certain.