Closed
Description
Take Two Classes:
public class ClassA
{
public List<int> SomeList { get; set; }
}
public class ClassB : ClassA
{
new public IEnumerable<int> SomeList { get; set; }
}
If ClassB
is serialized an exception is thrown:
The JSON property name for 'ClassB.SomeList' collides with another property.
This seems like unwanted behavior.