Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-492

LINQ - OrderBy after Select Doesn't Work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The following type of query throws an ArgumentNull exception in BsonDocument.cs Add method for parameter string name (line 624):

      .Where().Select(x => x.Name).OrderBy(x => x).ToArray()

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: