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

SafeMode constants should be Frozen

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4
    • Affects Version/s: 1.3.1
    • Component/s: None
    • None
    • Fully Compatible

      SafeMode constants should be frozen to protect them from being modified inadvertently. For example, the following should not be possible:

      var s = SafeMode.False;
      s.J = true;
      

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

              Created:
              Updated:
              Resolved: