-
Type: Bug
-
Resolution: Done
-
Priority: Trivial - P5
-
Affects Version/s: 1.7.1
-
Component/s: None
-
None
-
Environment:Windows
The new ArgumentOutOfRangeException() is incorrectly formed. It's passing a message as the parameter name. It should read;
throw new ArgumentOutOfRangeException("bytes", "Byte array must be 12 bytes long.");
Ideally though, it would have a bit more information relating to ObjectId.
- related to
-
CSHARP-474 Review all exceptions thrown by the C# driver
- Closed