Support comparison operators with constant on left hand side

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.2.3
    • Affects Version/s: 2.0.1
    • Component/s: LINQ
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      Comparison queries in LINQ where the constant is on the left hand side throw an ArgumentException.

      For example:

      collection.Find(user => DateTime.Now > user.UpdatedDate);

      Looks like a regression of CSHARP-431

            Assignee:
            Craig Wilson
            Reporter:
            Sheila Kinsella
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: