C# Change signature refactoring generates wrong syntax for named arguments in attribute constructor calls #50940
Labels
Area-IDE
Bug
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
IDE-CodeStyle
Built-in analyzers, fixes, and refactorings
Projects
Milestone
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work]
When using the "Change signature" refactoring in C# to add a new parameter to a constructor of an attribute class and requesting to inject a value using a named argument at existing call sites, the generated syntax for that argument at the call sites where the attribute is applied to a member is wrong: using the = symbol for assigning the argument value, where it should be using the : symbol.
Steps to reproduce:
Expected result at the call site:
Actual result at the call site:
Original Comments
Feedback Bot on 1/31/2021, 07:39 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: