Skip to content

Gendarme.Rules.Performance.AvoidMethodWithLargeMaximumStackSizeRule(git)

Sebastien Pouliot edited this page Mar 2, 2011 · 1 revision

AvoidMethodWithLargeMaximumStackSizeRule

Assembly: Gendarme.Rules.Performance
Version: git

Description

This rule fires if a method has a large maximum stack size (default is 100). Having a large maximum stack size makes it hard to generate code that performs well and, likely, makes the code harder to understand.

Examples

Notes

  • This rule is available since Gendarme 2.6

Source code

You can browse the latest source code of this rule on github.com

Clone this wiki locally