sonar-dotnet icon indicating copy to clipboard operation
sonar-dotnet copied to clipboard

S107: Add support of a constructorMax parameter

Open sebastien-marichal opened this issue 1 year ago • 0 comments

Intiate by https://community.sonarsource.com/t/csharpsquid-s107-too-many-parameters-on-a-constructor/51861

  • [ ] Adding support of the constructorMax parameter
  • [ ] Adding more/new exceptions:
    • [ ] Dependency injection
    • [ ] Immutable object/read only assignement
  • [ ] Update RSPEC
    • [ ] Special attention on the exception section that needs more details
    • [ ] Adding the new exceptions.
    • [ ] Providing more context on why (in other words LaYCing the rule)
  • [ ] Check with SQ and SC team if possible to migrate the max parameter value to the the new constructorMax parameter value
    • We want to make sure any user who previously set the max parameter does not end up with the default for constructorMax

sebastien-marichal avatar Jul 28 '23 15:07 sebastien-marichal