2

Closed

indexing error

description

clinq2\collections\selectmanyreadonlycontinuouscollection.cs
 
in public override TResult this[int index]
 
  • if (index <= resultItems.Count() + tempIndex)
  • if (index < resultItems.Count() + tempIndex)
     
    Loving clinq so far!

file attachments

Closed Oct 20, 2009 at 5:07 PM by akutruff
Fixed with rewrite of SelectMany

comments

matelich wrote Dec 31, 2008 at 9:49 PM

So, I decided I'd write a unittest to show the need for this change, and succeeded, but I can't figure out why my AddItem and RemoveItem tests are failing. Here's the code anyway, gotta move on for now.