60
61
/// <remarks>This rule is available since Gendarme 2.0</remarks>
62
63
[Problem ("This method seems to include code duplicating Math.Min or Math.Max functionality.")]
63
[Solution ("The JIT can inline the Math.Min and Math.Max methods which provides better performance compared to custom, inline, implementations.")]
64
65
[EngineDependency (typeof (OpCodeEngine))]
65
66
public class MathMinMaxCandidateRule : Rule, IMethodRule {