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.
{
}
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.