Skip to content

Conversation

@jskeet
Copy link
Contributor

@jskeet jskeet commented Nov 27, 2025

Additionally, modify switch expression handling to remove the reference to SwitchExpressionException, instead requiring that the exception thrown by a non-exhaustive switch expression is InvalidOperationException or a derived type.

Fixes #1021

Additionally, modify switch expression handling to remove the reference
to SwitchExpressionException, instead requiring that the exception
thrown by a non-exhaustive switch expression is
InvalidOperationException or a derived type.

Fixes #1021
@jskeet jskeet requested review from BillWagner and jnm2 November 27, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check "extra" exceptions

3 participants