#region license
//comment
//comment
//comment
#endregion
using System;
using System.Collections.Generic;
namespace Whatever
{
public class Something
code
code
code
}
The example above gets converted as follows, which is obviously wrong, especially considering that when Visual Studio opens the file, the region blocks are closed by default:
namespace Whatever;
{$region license}
interface
uses
System,
System.Collections.Generic;
type
// comment
// comment
// comment
{$endregion}
Something = public class
code
code
code