Invalid "Collection initialization can be simplified" #72483
Labels
Area-IDE
Resolution-Duplicate
The described behavior is tracked in another issue
untriaged
Issues and PRs which have not yet been triaged by a lead
This issue has been moved from a ticket on Developer Community.
Given the following method:
I'm being given a code fix for IDE0028 on
new
saying that it can be simplified. If I apply it, I end up with this invalid code:The string there has error CS0029: Cannot implicitly conver string to object[]
Original Comments
Feedback Bot on 3/10/2024, 09:55 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: