I haven't been able to find anything on this online.
Is there any way to specify that an underscore prefix for readonly private fields should be added?
Ever since I started using an editorconfig
file, Visual Studio will PascalCase the field when I choose the "Introduce read-only field" action.
The answer here solved my issue, as linked by Sebastian Brunner in the comments:
https://stackoverflow.com/a/49428349/553609
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With