CSHARP-5905ClosedFixed
"System.InvalidOperationException: ValueFactory attempted to access the Value property of this instance." when using EnumRepresentationConvention or ObjectSerializerAllowedTypesConvention
h4. Summary _When using either `EnumRepresentationConvention` or `ObjectSerializerAllowedTypesConvention`, if the type is recursive with a collection of the same type, initialization will fail with the following exception: "System.InvalidOperationException: ValueFactory attempted to access the Value property of this instance."_ h4. Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).