Skip to content

Do not remove cast when it would break a params call.#43705

Merged
CyrusNajmabadi merged 5 commits intodotnet:masterfrom
CyrusNajmabadi:removeCastParams
Apr 28, 2020
Merged

Do not remove cast when it would break a params call.#43705
CyrusNajmabadi merged 5 commits intodotnet:masterfrom
CyrusNajmabadi:removeCastParams

Conversation

@CyrusNajmabadi
Copy link
Contributor

Fixes #20742

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approval

@CyrusNajmabadi CyrusNajmabadi merged commit b052667 into dotnet:master Apr 28, 2020
@ghost ghost added this to the Next milestone Apr 28, 2020
@CyrusNajmabadi CyrusNajmabadi deleted the removeCastParams branch April 28, 2020 02:54
@JoeRobich JoeRobich modified the milestones: Next, 16.7.P2 May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IDE0004 "Cast is redundant" when casting object[] to object calling a method that takes params object[] and named arguments changes behavior.

3 participants