Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
2.5
-
None
Description
The following should result in an exception thrown when RegisterSerializer is called:
var intSerializer = new Int32Serializer();
|
BsonSerializer.RegisterSerializer(typeof(long), intSerializer);
|
because the types don't agree.
Attachments
Issue Links
- is duplicated by
-
CSHARP-1949 BsonSerializer RegisterSerializer should validate serializer argument
-
- Closed
-
- is related to
-
CSHARP-1643 Differencies in how new Driver handle custom serialization
-
- Closed
-