Skip to content

Make IDE0120 (simplify LINQ expression) a suggestion by default #62673

@DoctorKrolic

Description

@DoctorKrolic

To be honest, till this day I didn't even know, that such diagnostic and codefix existed and discovered it only when checking it before making a feature request. From my personal experience, I usually forget about simplifying LINQ at all when writing code, so 3 dots and a suggestion in the diagnostic window will help a lot. I know, I can change severity with .editorconfig or IDE settings, but I don't see any problem in making this thing more explicit by default. This is not an error or warning, so isn't a big deal, is it?

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Complete

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions