1

Closed

ShouldSerialize{Property} not working if the method is virtual

description

public class A
{
}

public class B
{
public A A { get; set;}
public virtual bool ShouldSerializeA()
{
return false;
}
}

Using version 6.0.2 this fails since the ShouldSerializeA is never called. If I make the method non virtual then it works.
Closed Apr 25 at 11:49 AM by JamesNK
This has already been fixed in the source code and will be in the next release

comments