In my code the method marked by [OnDeserialized] is never called after deserialization. Is this a known issue?
The following conditions should be met for a valid OnDeserialized callback. • 1. The accessibility of the method should be public. It can also be internal with InternalsVisibleTo provided to the System.Runtime.Serialization assembly. • 2. Return type should be void. • 3. There should be exactly one parameter which should be of the type StreamingContext. • 4. There should be only one of the four callbacks provided on the method.