Comment removed after reformatting
Nasicus opened this issue · comments
Thanks for the great work you're doing with csharpier!
A small issue I just noticed:
Input:
public static class ExclusiveBrands
{
public static readonly HashSet<int> Ids =
[
593, // Fish Brand
];
}
Output:
public static class ExclusiveBrands
{
public static readonly HashSet<int> Ids = [593];
}
Expected behavior:
=> do not remove comment (probably leave as is?)
Thanks for the kind words! This looks like an edge case of the recent logic around auto adding trailing comments, it'll be resolved in the next release.