Generating code for property initialisers from an object instance : Can we use Roslyn to generate the object initialisers only from an instance of object? Not trying to decompile the object as in this post : http://stackoverflow.com/questions/29567489/can-roslyn-generate-source-code-from-an-object-instance

Would it work with complex/nested objects? 