[CSHARP-386] SafeMode constants should be Frozen Created: 29/Jan/12  Updated: 02/Apr/15  Resolved: 01/Feb/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.3.1
Fix Version/s: 1.4

Type: Bug Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

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;


Generated at Wed Feb 07 21:36:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.