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

The call is ambiguous between the following methods or properties: 'IMongoCollectionExtensions.FindOneAndReplace<TDocument>

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.7.2
    • Command Operations
    • None
    • C#

    Description

      I'm getting an ambiguous error with the following code but only when I used the FindOneAndReplaceOptions<T> options as outlined in my picture below.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            crl Charles Lindsay
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: