Enable CA1064 and fix noncompliance
Exception classes should be public
This commit is contained in:
parent
191f1f3020
commit
d8ce0e6177
|
@ -134,7 +134,7 @@
|
|||
<Rule Id="CA1063" Action="Hidden" />
|
||||
|
||||
<!-- Exceptions should be public -->
|
||||
<Rule Id="CA1064" Action="Hidden" />
|
||||
<Rule Id="CA1064" Action="Error" />
|
||||
|
||||
<!-- Do not raise exceptions in unexpected locations -->
|
||||
<Rule Id="CA1065" Action="Hidden" />
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace BizHawk.Emulation.DiscSystem
|
|||
public abstract void Run();
|
||||
}
|
||||
|
||||
internal class DiscJobAbortException : Exception
|
||||
public sealed class DiscJobAbortException : Exception
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue