You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Overview.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,8 @@ This analyzer reports when a method, constructor, local function, indexer or del
105
105
- declares a tuple parameter
106
106
- returns a tuple with more than 2 elements.
107
107
108
-
**Note:** This rule can be customized using a [configuration file](/docs/Configuration.md) by setting **MaxParameterCount** to a value in range 0-255.
108
+
**Note:** This rule can be customized using a [configuration file](/docs/Configuration.md) by setting **MaxParameterCount** and/or **MaxConstructorParameterCount** to a value in range 0-255.
109
+
When **MaxConstructorParameterCount** is omitted, the value from **MaxParameterCount** (or its default) is used for constructors.
109
110
110
111
### [AV1562](https://github.com/dennisdoomen/CSharpGuidelines/blob/7a66f7468da6ce1477753a02e416e04bc9a44e45/_pages/1500_MaintainabilityGuidelines.md#av1562): Don't use ref or out parameters 
Copy file name to clipboardExpand all lines: src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Maintainability/AvoidSignatureWithManyParametersSpecs.cs
Copy file name to clipboardExpand all lines: src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer/Rules/Maintainability/AvoidMemberWithManyStatementsAnalyzer.cs
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,10 @@ public sealed class AvoidMemberWithManyStatementsAnalyzer : DiagnosticAnalyzer
0 commit comments