Encourage the use of initializing formal parameters #58847
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-lint-request
P3
A lower priority bug or feature request
Similar to the
use_super_parameters
rule, there could be a rule to encourage the use of an initializing formal parameter when the parameter is assigned, unmodified, to a field with the same name as the parameter. For example:The text was updated successfully, but these errors were encountered: