This project is read-only.

elementAt (LinqToObjects) assumes it is dealing with an array of arrays


The function elementAt in LinqToObjects assumes that it is dealing with an array of arrays. If the result from the query is not an array it returns null. This breaks this feature and the test. Also even if it is an array the current code pops the first element off the array and returns that. It should just return the nth element of the resultant sequence. Whatever that is.