All overloads of Enumerable.ToLookup have the incorrect return type of
Lookup<TKey, TSource> instead of the interface type ILookup<TKey,
TSource>. For example, intead of:
public static Lookup<TKey, TSource> ToLookup<TSource, TKey>(
this IEnumerable<TSource> source,
Func<TSource, TKey> keySelector)
It should be:
public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(
this IEnumerable<TSource> source,
Func<TSource, TKey> keySelector)
Original issue reported on code.google.com by azizatif on 3 Oct 2009 at 2:13
Original issue reported on code.google.com by
azizatif
on 3 Oct 2009 at 2:13