This rule checks methods for code which seems to duplicate Math.Min or
Math.Max. The JIT can inline these methods and generate
better code for, at least some types, than it can for a custom inline
implementation.
See Also:
MathMinMaxCandidateRule Members
Syntax
Remarks
This rule is available since Gendarme 2.0
Example
Example
Requirements
Namespace: Gendarme.Rules.Performance
Assembly: Gendarme.Rules.Performance (in Gendarme.Rules.Performance.dll)
Assembly Versions: 2.8.0.0