This project has moved and is read-only. For the latest updates, please go here.


Chaining LINQ calls fails


In ipy 2.7 (via clr.ImportExtensions) chaining LINQ calls fails with System.ArgumentException: Type System.Collections.Generic.IEnumerable`1[TSource] contains generic parameters.
I expected LINQ extension methods to be chainable like in c#. For some reason some type check seem to fail as soon as I try to call a LINQ extension method on the result of a LINQ extension method call. I had a look at the test suite and it does not seem to cover such usage.
I attached a python snipped of what I tried to do.

file attachments

Closed Jun 18, 2011 at 8:33 PM by DinoViehland


OldWarhorse wrote Apr 10, 2011 at 2:22 AM

I'll just go ahead and add my inquiry here also.

wrote Apr 12, 2011 at 3:24 AM

wrote Jun 1, 2011 at 10:55 PM

wrote Jun 14, 2011 at 8:43 PM

wrote Jun 15, 2011 at 3:33 AM

wrote Jun 18, 2011 at 8:33 PM

wrote Jun 18, 2011 at 8:33 PM

sopelt wrote Jun 20, 2011 at 9:23 AM

Thank you for fixing this issue. Do you have an idea on when the next release is scheduled and if the fix will be included?
I was not able to find some kind of release plan on codeplex/github.

OldWarhorse wrote Jun 20, 2011 at 1:47 PM

It's fixed. My stuff works. Thanks Dino!

jdhardy wrote Jun 21, 2011 at 4:35 PM

@sopelt: You can try out 2.7.1 Beta 1, which has this fix. The final release of 2.7.1 will happen in 2-3 weeks.

wrote Feb 22, 2013 at 2:09 AM

wrote May 16, 2013 at 1:03 PM