Skip to content

[AllowedValues] and [DeniedValues] case insensitivness suport #98399

Open
@BachiMjavanadze

Description

@BachiMjavanadze

I think it would be better if the [AllowedValues] and [Denied Values] attributes had support for case insensitivity. So instead:

[AllowedValues("bad", "Bad", "bAd", "baD", "BAD")]

or defining custom attribute, possible to write this:

[AllowedValues("bad" CaseInsensitive = true)]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions