Skip to content

Commit

Permalink
Disable CA1510 for shared files
Browse files Browse the repository at this point in the history
  • Loading branch information
mavasani committed Jan 12, 2023
1 parent 1d7244a commit 479771d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Utilities/Compiler/Extensions/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.{cs,vb}]

# 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.
dotnet_diagnostic.CA1510.severity = none

0 comments on commit 479771d

Please sign in to comment.