LINQ skip implementation is not consistent with native linq to objects

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • None
    • Affects Version/s: 1.9.2
    • Component/s: LINQ
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When using the skip method with a negative number the mongo driver raises the following exception

      ArgumentException: Skip cannot be negative.

      However this is not consistent with the linq to objects implementation and therefore makes for the possibility of runtime errors slipping through unit tests when linq is using the mongodb driver.

            Assignee:
            Unassigned
            Reporter:
            Scott Guymer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: