-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Major - P3
-
None
-
Affects Version/s: 1.8.1
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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?