Enable CA1018 and fix noncompliance
"Mark attributes with AttributeUsageAttribute"
This commit is contained in:
parent
7f99dd95d6
commit
16d1782c9e
|
@ -32,9 +32,6 @@
|
|||
<!-- Mark assemblies with assembly version -->
|
||||
<Rule Id="CA1016" Action="Hidden" />
|
||||
|
||||
<!-- Mark attributes with AttributeUsageAttribute -->
|
||||
<Rule Id="CA1018" Action="Hidden" />
|
||||
|
||||
<!-- Enum Storage should be Int32 -->
|
||||
<Rule Id="CA1028" Action="Hidden" />
|
||||
|
||||
|
|
|
@ -118,6 +118,7 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public sealed class ExternalToolEmbeddedIconAttribute : Attribute
|
||||
{
|
||||
/// <remarks>The full path, including the assembly name.</remarks>
|
||||
|
|
Loading…
Reference in New Issue