i am trying to serialize a field of my class. Withou it serialization is fine, with it a get SerializationException.
Field is : private readonly ObservableColl
private readonly ObservableColl
Try out marking event PropertyChanged by [NonSerialized] attribute
PropertyChanged
[NonSerialized]
below is syntax for events: (see MSDN)
[field:NonSerializedAttribute()] public event ChangedEventHandler Changed;