Skip to content

Commit 701d201

Browse files
mavasaniYoussef1313
authored andcommitted
Disable CA1510 for shared files
1 parent a807978 commit 701d201

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[*.{cs,vb}]
2+
3+
# CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance - API only available on .NET 7 in test projects, so disabling for shared project.
4+
dotnet_diagnostic.CA1510.severity = none

0 commit comments

Comments
 (0)