This is necessary for some PLinq operator that can provide a better optimized version of themselves when there is no ordering constraint whithout having to create yet another query node. Note that the method can be optimized with a more specialized version of the visitor.
Previously the case of Unordered wasn't taken in account and the control flow wasn't properly forwarded to the following nodes in the query# Please enter the commit message for your changes. Lines starting
Using ToArray directly, even though incorrect, was working by a twist of fate in that the mostly-standard partitioner and ToArray operator were based on the same assumptions.
Switch from manually creating result sets to creating them with a Linq query. Replaced some type with var. Split indexed and non indexed call in two different virtual method call.
2010-06-18 Rolf Bjarne Kvinge <[email protected]>
* System.Core/Dummy.cs:
* moonlight_raw_System.Core.dll.sources: Add an internal dummy class to create
the System.Core namespace.
* Makefile:
* moonlight_raw_System.Core.dll.sources: Include the dlr in Moonlight.
In class/System.Core/System.Linq:
2010-06-18 Rolf Bjarne Kvinge <[email protected]>
* EnumerableQuery.cs:
* EnumerableQuery_T.cs:
* EnumerableExecutor.cs:
* EnumerableExecutor_T.cs: Include in Moonlight.
* Enumerable.cs: Moonlight too needs Zip.
In class/System.Core/System.Runtime.CompilerServices:
2010-06-18 Rolf Bjarne Kvinge <[email protected]>
* ExecutionScope.cs: This class exists in Moonlight, but isn't supported.
* StrongBox_T.cs:
* DynamicAttribute.cs: Include in Moonlight.
svn path=/trunk/mcs/; revision=159111
* Enumerable.cs: fix GroupBy to deal with a null key for the last
group entry. Also fix GroupBy to properly throw ArgumentNullException.
svn path=/trunk/mcs/; revision=157558
In class/System.Core/System.Linq/:
* ParallelEnumerable.cs: Some operators weren't declared
as extension methods. Fixed.
svn path=/trunk/mcs/; revision=156723
In class/System.Core/System.Linq/:
* ParallelQueryEnumerator.cs: Use new non-blocking collection
for storing indexed elements.
In class/System.Core/System.Linq/Internal/:
* OrderingEnumerator.cs: Use new non-blocking collection
for storing indexed elements.
svn path=/trunk/mcs/; revision=156433
* Enumerable.cs: Jumbo patch that inlines code, mainly for the AOT
scenario where we our compiler cant infer the extra layer of
indirection of a lambda function.
But additionally, since we lack support for our JIT to inline
intermediate delegate calls, it should save memory and run
faster.
svn path=/trunk/mcs/; revision=155280
* SortSequenceContext.cs: Fix OrderByDescending stability.
Based on a patch by Richard Kiene <[email protected]>.
svn path=/trunk/mcs/; revision=154154
2009-11-14 Jb Evain <[email protected]>
* ExpressionTransformer.cs: adjust return type of all
tranformation methods to make the transformer actually
useful.
in System.Linq:
2009-11-14 Jb Evain <[email protected]>
* QueryableTransformer: adjust to latest ExpressionTransformer
changes.
svn path=/trunk/mcs/; revision=146208