title: Generating code for property initialisers from an object InitializerExpressionSyntax
body: <p>Update : reason for needing this is I need to create complex objects, deeply nested like document object models. I can not tell if all the properties have been initialised, really looking to see if I missed a property, specially when deeply nested.</p>
  
  <p>In Other words , I need to see if the complete Object tree has been in initialised or I missed a property somewhere.</p>
  
  <p>Can we use Roslyn to generate the object InitializerExpressionSyntax only from code? Not trying to decompile the object as in this post : <a href="https://stackoverflow.com/questions/29567489/can-roslyn-generate-source-code-from-an-object-instance">Can Roslyn generate source code from an object instance?</a></p>
  
  <p>Would it work with complex/nested objects? </p>