-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Description
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.
- ID: ca98e1b9-588d-23a7-5a6d-a76bce0aabdc
- Version Independent ID: 5fcf7ff3-3a9c-d8df-9b7f-1b6bbcf188e0
- Content: Use patterns in objects - C# tutorial
- Content Source: docs/csharp/tutorials/exploration/patterns-objects.md
- Product: dotnet-csharp
- Technology: csharp-get-started
- GitHub Login: @BillWagner
- Microsoft Alias: wiwagn