Open tmat opened 3 years ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
this was intentional. to match tuple semantics exactly, these are emitted as fields, not properties. Being fields, they are named appropriately. If there is a desire to change things to properties, then 'encapsulate field' can be used.
Note: i am amenable to 'convert to struct' having an option to 'use properties' instead of defaulting to fields (with the potential that that may break something).
Public fields should also be PascalCased.
I'm not strongly opposed to that. If someone does implement htis, the main issue will be about how to make the naming change. We don't have any facility for bulk renaming. Doing that efficiently is non-trivial. one inefficient approach to doing this would be to:
Because of hte cost of this, this should likely be an opt-in choice for people using this feature.
Blocked on #14115
Version Used: Version 16.9.0 Preview 3.0 [30904.5.main]
Steps to Reproduce:
Expected Behavior:
Actual Behavior: