Make attribute sealed.
MODIFY
WalletWasabi.Gui/Rpc/JsonRpcMethodAttribute.cs
WalletWasabi.Gui/Rpc/JsonRpcMethodAttribute.cs
@@ -6,7 +6,7 @@ namespace WalletWasabi.Gui.Rpc
/// Class used to decorate service methods and map them with their rpc method name.
/// </summary>
[AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
- public class JsonRpcMethodAttribute : Attribute
+ public sealed class JsonRpcMethodAttribute : Attribute
{
public string Name { get; }

Make attribute sealed. https://docs.microsoft.com/en-gb/visualstudio/code-quality/ca1813?view=vs-2019