Skip to content

Question: Can roslynator detect "collection of objects with a singular name" scenarios? #1476

Open
@ChairmanMawh

Description

@ChairmanMawh

Just wondering..

I'd like to be able to flag variables, fields and properties in the codebase that have a singular name. Also variables that are sole objects but have a plural name (less affected by this)

Expected Behavior:

var something = new[]{ "" }
    ^^^^^^^^^
    "variables that represent a collection should have a name that is a plural"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions