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>

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 2.7.2
    • Fix Version/s: None
    • Component/s: Command Operations
    • Labels:
      None
    • Environment:
      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

            Assignee:
            Unassigned
            Reporter:
            crl Charles Lindsay
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: