Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
1.8.1
-
None
-
None
Description
This line
BsonSerializer.RegisterSerializer(typeof(PSObject), new PSObjectSerializer());
where PSObjectSerializer is my custom serializer for PSObject, throws an exception:
There is already a serializer registered for type System.Management.Automation.PSObject.
In 1.8 this code works fine. Is anything perhaps changed in ways of how custom serializers should be registered?