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>

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.7.2
    • Component/s: Command Operations
    • Labels:
      None
    • Environment:
      C#

      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.

       

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

              Created:
              Updated: