HashSet<T> does not implement ICollection, it only implements ICollection<T>