ObjectId's contain a timestamp component that is a 32-bit integer. We have an overload allowing the user to specify a DateTime as the timestamp field. .NET's DateTime class allows for values beyond the range of a 32-bit integer. We should consider throwing an ArgumentOutOfRangeException when one of these is used.
Consider throwing ArgumentOutOfRangeException when DateTime overload of ObjectId is out of range.
- Assignee:
-
Robert Stam
- Reporter:
-
Craig Wilson
- Votes:
-
2 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: