Try to explicitly use the support field, which you can mark as [NonSerialized]
[Serializable] public class B_Class { [NonSerialized] private A_Class a;
The problem is that the NonSerialized attribute NonSerialized valid for fields, but not for properties, so you cannot use it in conjunction with automatically implemented properties.
Rob levine
source share