Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Have TB0025 be ignored for parameters whose names begin with an underscore #2317

@KubaO

Description

@KubaO

Is your feature request related to a problem? Please describe.
I have some procedures with parameters that are not used by design rather than by omission. At the moment, the only workaround is to add the [IgnoreWarnings(TB0025)] attribute.

Describe the solution you'd like
Instead of adding a blanket warning ignore for a whole procedure, it'd be nice if individual arguments could be marked as intentionally unused by prepending their name with an underscore (_).

Describe alternatives you've considered
The [IgnoreWarnings(TB0025)] is a workaround.

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