Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 559 Bytes

File metadata and controls

14 lines (11 loc) · 559 Bytes

MA0051 - Method is too long

Source: MethodShouldNotBeTooLongAnalyzer.cs

Long methods are harder to understand. You should refactor them when possible.

You can configure the rule using an .editorconfig file:

MA0051.maximum_lines_per_method = 60
MA0051.maximum_statements_per_method = 40
MA0051.skip_local_functions = false # skip local functions when counting statements