Skip to content

Insert casts to ensure that runtime types (And values) are not impacted when converting switch to expression#58694

Merged
CyrusNajmabadi merged 5 commits intodotnet:mainfrom
CyrusNajmabadi:convertSwitchCast
Jan 7, 2022
Merged

Insert casts to ensure that runtime types (And values) are not impacted when converting switch to expression#58694
CyrusNajmabadi merged 5 commits intodotnet:mainfrom
CyrusNajmabadi:convertSwitchCast

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

Fixes #58636

@CyrusNajmabadi CyrusNajmabadi requested a review from alrz January 6, 2022 23:54
@ghost ghost added the Area-IDE label Jan 6, 2022
@CyrusNajmabadi CyrusNajmabadi merged commit a957a12 into dotnet:main Jan 7, 2022
@ghost ghost added this to the Next milestone Jan 7, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the convertSwitchCast branch February 1, 2022 18:25
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P1 Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Roslyn analyzer suggestion to convert a switch statement to switch expression alters runtime code behavior

3 participants