I use ISerializationSurrogate. In object SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
obj will be the empty new object.
the MSDN says:
The SetObjectData method is called during deserialization. With this method, you can take the empty Object obj
that has already been created, and enter SerializationInfo info data
into that object. Constructors are not invoked during deserialization of information and reconstruction of the object.
My question is: how will the object be created? Perhaps someone can point me to the Code at http://www.sourceof.net where this happens?