fix S3993: Custom attributes should be marked with "System.AttributeUsageAttribute"

https://rules.sonarsource.com/csharp/RSPEC-3993/
This commit is contained in:
Marius Thesing
2024-09-14 12:58:45 +02:00
parent db0a0ecb92
commit 1d88c06887
@@ -1,9 +1,11 @@
using System.Runtime.InteropServices;
using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Renci.SshNet.Tests.Common
{
[AttributeUsage(AttributeTargets.Method)]
public sealed class TestMethodForPlatformAttribute : TestMethodAttribute
{
public TestMethodForPlatformAttribute(string platform)