<PackageReference Include="Polly.Core" Version="8.0.0-beta.1" />

UnconditionalSuppressMessageAttribute

/// Suppresses reporting of a specific rule violation, allowing multiple suppressions on a single code artifact.
using System.Runtime.CompilerServices; namespace System.Diagnostics.CodeAnalysis { [System.Runtime.CompilerServices.NullableContext(2)] [System.Runtime.CompilerServices.Nullable(0)] [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)] [ExcludeFromCodeCoverage] internal sealed class UnconditionalSuppressMessageAttribute : Attribute { [System.Runtime.CompilerServices.Nullable(1)] [field: System.Runtime.CompilerServices.Nullable(1)] public string Category { [System.Runtime.CompilerServices.NullableContext(1)] get; } [System.Runtime.CompilerServices.Nullable(1)] [field: System.Runtime.CompilerServices.Nullable(1)] public string CheckId { [System.Runtime.CompilerServices.NullableContext(1)] get; } public string Scope { get; set; } public string Target { get; set; } public string MessageId { get; set; } public string Justification { get; set; } [System.Runtime.CompilerServices.NullableContext(1)] public UnconditionalSuppressMessageAttribute(string category, string checkId) { Category = category; CheckId = checkId; } } }