JetBrains / JetBrains/resharper-unity
Rider - "Convert into auto-property with private setter" when a getter-only interface
Open
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
Resharper suggests to change a property with an explicit backing field to an auto-property even when that property is declared in an interface that specifies only the getter. Oviously, trying to make it automatically change the code to follow the suggestion, it generates an error:

Gives

Is this wanted? It seems confusing from a user standpoint
Contributor guide
Assessment
This issue has not been assessed yet.