M
mark
Using the CodeDom namespace, how do you create a blank line in a method
primarily for formatting? Without it, autogenerated code is challenging to
read. I tried something like:
//Assume method is an instance of CodeMemberMethod.
method.Statements.Add(new CodeExpressionStatement(new CodeExpression()));
But it bombs because CodeExpression requires more properties to be set...
Suggestions? Thanks in advance.
Mark
primarily for formatting? Without it, autogenerated code is challenging to
read. I tried something like:
//Assume method is an instance of CodeMemberMethod.
method.Statements.Add(new CodeExpressionStatement(new CodeExpression()));
But it bombs because CodeExpression requires more properties to be set...
Suggestions? Thanks in advance.
Mark