andry-tino / Rosetta

Toolset for migrating your codebase from C# to TypeScript
http://antino-enlad.cloudapp.net:8080/job/Rosetta/
GNU General Public License v3.0
24 stars 9 forks source link

Cannot properly handle conditional compilation #40

Open andry-tino opened 7 years ago

andry-tino commented 7 years ago

When emitting for a file like:

#if VAR
[ScriptNamespace("MyNamespace")]
#endif
public class MyClass {
}

The generated output will miss the new namespace. However the referenced type will actually be correct as, there, we use the semantic model.

andry-tino commented 7 years ago

Need to verify that the work for #41 solved this issue.