Fix CA1064
This commit is contained in:
@@ -634,6 +634,9 @@ dotnet_diagnostic.CA1050.severity = warning
|
||||
# Do not hide base class methods.
|
||||
dotnet_diagnostic.CA1061.severity = warning
|
||||
|
||||
# Exceptions should be public.
|
||||
dotnet_diagnostic.CA1064.severity = warning
|
||||
|
||||
# Override 'Equals' when implementing 'IEquatable'.
|
||||
dotnet_diagnostic.CA1067.severity = warning
|
||||
|
||||
|
||||
@@ -255,6 +255,6 @@ namespace OpenRA.Mods.Common.Commands
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
class DevException : Exception { }
|
||||
public class DevException : Exception { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user