Skip to content

Commit 41be44f

Browse files
xtqqczzeSIRMARGIN
authored andcommitted
Remove obsolete CA2233 rule suppression (PowerShell#25951)
1 parent e08eb58 commit 41be44f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/System.Management.Automation/utils/perfCounters/CounterSetInstanceBase.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ protected CounterSetInstanceBase(CounterSetRegistrarBase counterSetRegistrarInst
7474
/// But, if isNumerator is false, then a check is made on the input
7575
/// counter's type to ensure that denominator is indeed value for such a counter.
7676
/// </summary>
77-
[SuppressMessage("Microsoft.Usage", "CA2233:OperationsShouldNotOverflow", Justification = "countId is validated as known denominator before it is incremented.")]
7877
protected bool RetrieveTargetCounterIdIfValid(int counterId, bool isNumerator, out int targetCounterId)
7978
{
8079
targetCounterId = counterId;

0 commit comments

Comments
 (0)