Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit f0ea37b

Browse files
committed
Suppress CA1019
We don't want to store a concrete type as metadata.
1 parent e9dfc08 commit f0ea37b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.Exports/Exports/ExportMetadata.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public enum LinkType
3232
/// </summary>
3333
[MetadataAttribute]
3434
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
35+
[SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments",
36+
Justification = "Store string rather than Type as metadata")]
3537
public sealed class ExportViewForAttribute : ExportAttribute
3638
{
3739
public ExportViewForAttribute(Type viewModelType)

0 commit comments

Comments
 (0)