Gendarme.Rules.Performance.AvoidMethodWithLargeMaximumStackSize Class
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.

See Also: AvoidMethodWithLargeMaximumStackSize Members

Syntax

[Gendarme.Framework.Problem("The method has a large max stack, which is a sign of complex code.")]
[Gendarme.Framework.Solution("Refactor your code to reduce the size of the method.")]
public class AvoidMethodWithLargeMaximumStackSize : Gendarme.Framework.Rule, Gendarme.Framework.IMethodRule

Remarks

This rule is available since Gendarme 2.6

Requirements

Namespace: Gendarme.Rules.Performance
Assembly: Gendarme.Rules.Performance (in Gendarme.Rules.Performance.dll)
Assembly Versions: 2.8.0.0