See generated Std Query Operators under lambda display
Can be important to see the generated calls of Std Query Operators when designing new LINQ providers. Request clicking the lambda button next to "Results" to show this, as in
from x in new int[] {1,2,3}
select x * x
new int[] {1,2,3}.Select(x=>x*x)
This gets real important with the various SelectMany overloads, as in
for a in new int[] {2,3}
for b in new int[] {7, 11}
select new int[] {a, b}
does this gen code for
IEn<B> SelectMany<A,B>(this IEn<A> as, Func<A, IEn<B>> f)
or for
IEn<B> SelectMany<A,B>(this IEn<A> as, Func<A, IEn<A>> f, Func<A, A, B>> g)
? Would love to use LINQpad for designs like these
-
brianbec commented
i'm WITHDRAWING this request -- I see how to do it as follows
from b in new int[]{1,2,3}.AsQueryable()
from c in new string[]{"a", "b"}
select c + b.ToString() -
brianbec commented
To clarify -- this capability is there when querying databases, but not when querying LINQ to objects in memory. My request is to show it always :)