1 // CS1624: The body of `C.Test<TSource>(IEnumerable<TSource>)' cannot be an iterator block because `TSource' is not an iterator interface type
4 using System.Collections.Generic;
8 public static TSource Test<TSource>(IEnumerable<TSource> source)
10 foreach (TSource element in source)