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

Resolve ambiguous method overloads in MongoQueryable

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.4
    • Affects Version/s: 2.2.3
    • Component/s: Linq
    • None

      The following LINQ related methods in MongoQueryable are ambiguous with similar methods in IAsyncCursorSource:

      • FirstAsync
      • FirstOrDefaultAsync
      • SingleAsync
      • SingleOrDefaultAsync

      At first glance it appears that these can be made unambiguous simply by making them be extensions methods on IMongoQueryable instead of IQueryable.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: