dotnet-websharper / ui

A reactive UI library for WebSharper.
https://websharper-samples.github.io/ui/
Apache License 2.0
77 stars 22 forks source link

C# code generator should escape invalid characters #209

Closed Jand42 closed 5 years ago

Jand42 commented 5 years ago

In a project called websharper-sample generated file for UI templating will contain namespace websharper-sample.Template which fails to compile because of - character (results in error A namespace cannot directly contain members such as fields or methods). It should be converted to _.