-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Looks like the formatter doesn't support C#10 features.
For example:
// test1.cs
using System;
namespace Foo;
class Bar {
}$ ./prettysharp.exe test1.cs
[line 3] Error at ';': Expected '{' at the beginning of a namespace declarationThe file with the older namespace style works just fine:
// test2.cs
using System;
namespace Foo {
class Bar {
}
}$ ./prettysharp.exe test1.cs
using System;
namespace Foo
{
class Bar
{
}
}Metadata
Metadata
Assignees
Labels
No labels