it is easy to emit the code but i want to properly identify which is the method, type reference etc. when they are generated.
I tried using Codevariabledeclarationstatement but the output is just like a string or same as the output of console.writeline.
The proper identification for a certain type does not generated.
SqlConnection cn = new SqlConnection();