-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.7.3
-
Component/s: BSON
-
None
-
Environment:c#, windows, server running mongo atlas
if you have nested classes that need to be overriden you normally will use the keyword new to hide base properties. But if you do that the serializer complains about duplicate property names. The message it gives is correct but in the supplied case this is not a problem but the intention todo so. Sample and details are in stackoverflow
- is duplicated by
-
CSHARP-2549 Shadowing/Hidden properties causing BsonSerializationException
- Closed