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

[generator] Remove unreachable code #8237

Merged
merged 1 commit into from
Mar 30, 2020
Merged

Conversation

spouliot
Copy link
Contributor

An earlier wrap != null condition ends with a return so any check or
code assuming wrap == null must always be executed, while any wrap != null
will never be.

An earlier `wrap != null` condition ends with a `return` so any check or
code assuming `wrap == null` must always be executed, while any `wrap != null`
will never be.
@spouliot
Copy link
Contributor Author

@monojenkins
Copy link
Collaborator

Build success
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
Test run succeeded

@spouliot spouliot added the not-notes-worthy Ignore for release notes label Mar 30, 2020
@spouliot spouliot merged commit 16ce9c6 into dotnet:master Mar 30, 2020
@spouliot spouliot deleted the gen-wrap branch March 30, 2020 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-notes-worthy Ignore for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants