Fix S107 FPs: Don't count base constructor parameter in the threshold #3727
Labels
Area: C#
C# rules related issues.
Area: VB.NET
VB.NET rules related issues.
Type: False Positive
Rule IS triggered when it shouldn't be.
Milestone
As reported by @DAud-IcI here #1015 (comment):
When base class has parameter count close to the limit, the inheriting class adding few more parameters raises issue. We should substract the base class constructor parameter count from the treshold.
The text was updated successfully, but these errors were encountered: