Issue 18 in backlinq: Enumerable.ToLookup has incorrect return type

0 views
Skip to first unread message

codesite...@google.com

unread,
Jan 27, 2009, 11:59:19 AM1/27/09
to backlin...@googlegroups.com
Status: Accepted
Owner: azizatif
Labels: Type-Defect Priority-Medium

New issue 18 by azizatif: Enumerable.ToLookup has incorrect return type
http://code.google.com/p/backlinq/issues/detail?id=18

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)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Jan 27, 2009, 12:03:22 PM1/27/09
to backlin...@googlegroups.com
Updates:
Labels: Maintainability

Comment #1 on issue 18 by azizatif: Enumerable.ToLookup has incorrect
return type
http://code.google.com/p/backlinq/issues/detail?id=18

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages