Skip to content

Unused usings feature does not deal with trivia correctly #1322

@shyamnamboodiripad

Description

@shyamnamboodiripad

Unused usings diagnostic analyzer greys out contiguous unused usings. However, it only greys out trivia that is between the first and last unused usings - it does not grey out trivia present on the first or last unused using (notice how the last comment below is not greyed out)
1

The code fix however removes everything (including trivia present on the first and last unused using)
2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-AnalyzersBughelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions