mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove obsolete CA2233 rule suppression (#25951)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user