Skip to content

Files

Latest commit

 

History

History
17 lines (11 loc) · 646 Bytes

Generic.CodeAnalysis.UnusedFunctionParameter.md

File metadata and controls

17 lines (11 loc) · 646 Bytes

Pattern: Unused function parameter

Issue: -

Description

Checks the for unused function parameters.

This rule checks that all function parameters are used in the function body. One exception is made for empty function bodies or function bodies that only contain comments. This could be useful for the classes that implement an interface that defines multiple methods but the implementation only needs some of them.

Further Reading