GetType not equals comparison translates incorrectly to MQL

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 3.1.0
    • Affects Version/s: 3.0.0
    • Component/s: LINQ
    • None
    • None
    • Fully Compatible
    • Dotnet Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      The following query translates incorrectly:

      queryable.Where(x => x.GetType() != typeof(C))
      

      The translator for this is not checking the comparison operator used and is assuming it is always `==`.

            Assignee:
            Robert Stam
            Reporter:
            Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: