Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abort SwitchAnalysis on duplicate condition (redundant code) #1295

Merged
merged 2 commits into from
Nov 13, 2018

Conversation

Chicken-Bones
Copy link
Contributor

@Chicken-Bones Chicken-Bones commented Oct 8, 2018

This fixes a failing assertion in SwitchDetection (debug mode) because blocks get added to InnerBlocks but not to the switch Sections. Previously the redundant/unreachable code got removed.

@dgrunwald dgrunwald merged commit 382a788 into icsharpcode:master Nov 13, 2018
ElektroKill pushed a commit to dnSpyEx/ILSpy that referenced this pull request Jul 12, 2021
Abort SwitchAnalysis on duplicate condition (redundant code)
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.

2 participants