File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 7070 <rule ref =" Generic.CodeAnalysis.UnnecessaryFinalModifier" />
7171 <!-- Forbid useless empty method overrides -->
7272 <rule ref =" Generic.CodeAnalysis.UselessOverridingMethod" />
73+ <rule ref =" Generic.CodeAnalysis.UnusedFunctionParameter" >
74+ <!-- But allow specifying unused params not the last parameters that are used. Needed for code not owned by us. -->
75+ <exclude name =" Generic.CodeAnalysis.UnusedFunctionParameter.FoundBeforeLastUsed" />
76+ <!-- But allow specifying unused params for methods declared in parent classes -->
77+ <exclude name =" Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass" />
78+ <!-- But allow specifying unused params for methods declared in parent classes -->
79+ <exclude name =" Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed" />
80+ <!-- But allow specifying unused params for methods declared in parent classes -->
81+ <exclude name =" Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed" />
82+ <!-- But allow specifying unused params for methods declared in parent interface -->
83+ <exclude name =" Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterface" />
84+ <!-- But allow specifying unused params for methods declared in parent interface -->
85+ <exclude name =" Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceBeforeLastUsed" />
86+ <!-- But allow specifying unused params for methods declared in parent interface -->
87+ <exclude name =" Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceAfterLastUsed" />
88+ </rule >
7389 <!-- Detects the usage of one and the same incrementer into an outer and an inner -->
7490 <rule ref =" Generic.CodeAnalysis.JumbledIncrementer" />
7591 <rule ref =" Generic.CodeAnalysis.UnconditionalIfStatement" />
You can’t perform that action at this time.
0 commit comments