From d8ce0e61775ae9b432cb880b531f790dfc76b4a0 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Tue, 8 Mar 2022 10:41:33 +1000 Subject: [PATCH] Enable CA1064 and fix noncompliance Exception classes should be public --- Common.ruleset | 2 +- src/BizHawk.Emulation.DiscSystem/DiscJob.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Common.ruleset b/Common.ruleset index 91d686381d..1d8f1d9a49 100644 --- a/Common.ruleset +++ b/Common.ruleset @@ -134,7 +134,7 @@ - + diff --git a/src/BizHawk.Emulation.DiscSystem/DiscJob.cs b/src/BizHawk.Emulation.DiscSystem/DiscJob.cs index 56a7bf0245..6c2c77c2cf 100644 --- a/src/BizHawk.Emulation.DiscSystem/DiscJob.cs +++ b/src/BizHawk.Emulation.DiscSystem/DiscJob.cs @@ -55,7 +55,7 @@ namespace BizHawk.Emulation.DiscSystem public abstract void Run(); } - internal class DiscJobAbortException : Exception + public sealed class DiscJobAbortException : Exception { } } \ No newline at end of file