IDE0290 code fix is invalid in ref struct
#73614
Labels
Area-IDE
Bug
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Version Used: '4.11.0-1.24229.8 (28985c0)'. Language version: 12.0
Steps to Reproduce:
https://sharplab.io/#v2:EYLgtghglgdgPgAQEwEYCwAoTAnApgMwAIBnAF2wFcBjUwgZQjAAcAbXTAb00J8KeygA3CKVyEASrggATAPIwWATzpMIMADxUAFhGwA+QgH0y2ANyZuvBAGZ6jVrgAUkmfKUq1mnfpLkAlJY8XBi8oUYmhAC8vmaBhAC+FiFWtggALIQAsgD2grgAcrgAHqSOAclBcaHC2CSqMFHh5OYVCZiJGEA
Use the fix to convert to primary constructor and remove field
Diagnostic Id: IDE0290 Use primary Constructor
Expected Behavior: The code fix is not suggested
Actual Behavior: The code fix is suggested
The text was updated successfully, but these errors were encountered: