Remove pragma warning and use SuppressMessage attribute
MODIFY
WalletWasabi.Tests/RegressionTests/Common.cs
WalletWasabi.Tests/RegressionTests/Common.cs
using NBitcoin;
using System;
+using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
@@ -40,10 +41,8 @@ namespace WalletWasabi.Tests.RegressionTests
}
}
-#pragma warning disable IDE0060 // Remove unused parameter
-
+ [SuppressMessage("Style", "IDE0060:Remove unused parameter", Justification = "Must match delegate")]
public static void Wallet_NewFilterProcessed(object sender, FilterModel e)
-#pragma warning restore IDE0060 // Remove unused parameter
{
Interlocked.Increment(ref FiltersProcessedByWalletCount);
}

Remove pragma warning and use SuppressMessage attribute