Skip to content

CS8524 warning is not correct #21519

@sheam

Description

@sheam

I believe your section on getting a warning because of an unhandled switch case is incorrect. I don't CS8524 has anything to do with switch statements. I think the error is actually CS8509, and it will fire as long as there is no default case.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions