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

BsonClassMap.Reset() is not consistent with default constructor

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.1.1
    • Component/s: Serialization
    • Labels:
      None

      The default BsonClassMap constructor sets the IgnoreExtraElements property to false.

      The BsonClassMap.Reset() method sets the IgnoreExtraElements property to true.

      The behavior should be identical for both.

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            bursauxa Antoine Bursaux
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: