Skip to content

Nullness - Consider supporting Nullable shorthand for TreatWarningsAsErrors #17524

Description

@BoundedChenn31

Is your feature request related to a problem? Please describe.

In C# it's possible to convert all nullable-related warnings to errors using <WarningsAsErrors>nullable</WarningsAsErrors>. From docs:
The set of all nullability warnings can be specified with the Nullable shorthand.

So in line with #17486 it would be nice to have WAE behaviour as well.

Describe the solution you'd like

Support <WarningsAsErrors>nullable</WarningsAsErrors>

Describe alternatives you've considered

Just use specific warning numbers or even true.

Additional context

.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions