Remove obsolete CA2233 rule suppression (#25951)

This commit is contained in:
xtqqczze
2025-09-01 03:56:16 +00:00
committed by GitHub
parent eda56e282e
commit 3b6f267e19
@@ -74,7 +74,6 @@ namespace System.Management.Automation.PerformanceData
/// But, if isNumerator is false, then a check is made on the input
/// counter's type to ensure that denominator is indeed value for such a counter.
/// </summary>
[SuppressMessage("Microsoft.Usage", "CA2233:OperationsShouldNotOverflow", Justification = "countId is validated as known denominator before it is incremented.")]
protected bool RetrieveTargetCounterIdIfValid(int counterId, bool isNumerator, out int targetCounterId)
{
targetCounterId = counterId;