From 47805d89fecaae7cc43c179596d1eb6e4bd53968 Mon Sep 17 00:00:00 2001 From: Mark Monteiro Date: Sat, 14 Dec 2019 16:01:24 +0100 Subject: [PATCH] Set CA1032 (Implement standard exception constructors) severity to info globally This replaces the existing [SurpressMessage] attribute --- Jellyfin.Drawing.Skia/SkiaCodecException.cs | 1 - jellyfin.ruleset | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Jellyfin.Drawing.Skia/SkiaCodecException.cs b/Jellyfin.Drawing.Skia/SkiaCodecException.cs index 0cfb55c268..8158b846dd 100644 --- a/Jellyfin.Drawing.Skia/SkiaCodecException.cs +++ b/Jellyfin.Drawing.Skia/SkiaCodecException.cs @@ -7,7 +7,6 @@ namespace Jellyfin.Drawing.Skia /// /// Represents errors that occur during interaction with Skia codecs. /// - [SuppressMessage("Design", "CA1032:Implement standard exception constructors", Justification = "A custom property, CodecResult, is required when creating this exception type.")] public class SkiaCodecException : SkiaException { /// diff --git a/jellyfin.ruleset b/jellyfin.ruleset index 75b5573b67..4ab07c941c 100644 --- a/jellyfin.ruleset +++ b/jellyfin.ruleset @@ -1,6 +1,8 @@ + +