Trailing comma on enum values is formatted incorrectly if the value is followed by a comma. Exactly the same issue as #1354.
Input:
enum MyEnum
{
First,
Second // the second value
}
Output:
enum MyEnum
{
First,
Second // the second value
,
}
Expected behavior:
enum MyEnum
{
First,
Second, // the second value
}
Tested with CSharpier.MSBuild 0.30.5