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

Commit 5ceaefc

Browse files
committed
Add GlobalSuppressions for unit tests
1 parent 8bc8745 commit 5ceaefc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+

2+
// This file is used by Code Analysis to maintain SuppressMessage
3+
// attributes that are applied to this project.
4+
// Project-level suppressions either have no target or are given
5+
// a specific target and scoped to a namespace, type, member, etc.
6+
7+
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1034:Nested types should not be visible",
8+
Justification = "It's okay for nested unit test types to be visible")]
9+
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores",
10+
Justification = "It's okay for unit test names to contain underscores")]

0 commit comments

Comments
 (0)