Details
-
Bug
-
Resolution: Done
-
Major - P3
-
1.1
-
None
-
None
Description
Can reproduce using this class:
public class C
{ public ObjectId Id; public object Obj; }and this code:
collection.RemoveAll();
var c = new C { Obj = new int[]
};
collection.Insert(c);
var r = collection.FindOneAs<C>(); // fails
Attachments
Issue Links
- is related to
-
CSHARP-301 Deserialization of Dictionary that was serialized with nominalType object fails due to lack of type information
-
- Closed
-
-
CSHARP-429 Cannot deserialize System.Object from BsonType Array
-
- Closed
-