paulirwin / JavaToCSharp

Java to C# converter
MIT License
266 stars 90 forks source link

Add support for file-scoped namespaces, #113 #115

Closed paulirwin closed 7 months ago

paulirwin commented 7 months ago

This change surfaced some annoying whitespace behavior with Roslyn's NormalizeWhitespace method, so this adds some leading/trailing newlines in places after NormalizeWhitespace is called to help prettify the output.