Skip to content

Gendarme.Rules.Performance.AvoidMethodWithLargeMaximumStackSizeRule(2.10)

Sebastien Pouliot edited this page Jan 22, 2011 · 2 revisions

AvoidMethodWithLargeMaximumStackSizeRule

Assembly: Gendarme.Rules.Performance
Version: 2.10

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
Clone this wiki locally