Skip to content

Comment removed after reformatting #1300

@Nasicus

Description

@Nasicus

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions