-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.7
-
Component/s: None
-
None
-
Minor Change
This makes sure that the values stored in the ObjectId field are all within the range of values that can be successfully round tripped.
It also prevents weird behavior with Equals and GetHashCode.
Note that the driver internally is not passing invalid values to the ObjectId constructor, but user code creating a custom ObjectId might.