public class A : Expando
{
public string Prop1 { get; set; }
}
public class B : A
{
public string Prop2 { get; set; }
}
I want to serialize B, but only own properties are serialized, because of this line :
_InstancePropertyInfo = Instance.GetType().GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly);
so I replaced it with this:
I want to serialize B, but only own properties are serialized, because of this line :
_InstancePropertyInfo = Instance.GetType().GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly);
so I replaced it with this:_InstancePropertyInfo = Instance.GetType().GetProperties(BindingFlags.Instance | BindingFlags.Public) ;
Now, I'm getting weird error during serialization:"Parameter count mismatch."
Callstack says: