Skip to content

Commit 10f2b7d

Browse files
committed
Suppress new warnings in .NET 8 Preview 2 SDK.
(cherry picked from commit 10b1a1e)
1 parent e9747da commit 10f2b7d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ dotnet_diagnostic.CA1032.severity = none # Implement standard exception construc
7676
dotnet_diagnostic.CA1062.severity = silent # Validate arguments of public methods.
7777
dotnet_diagnostic.CA1307.severity = silent # Specify StringComparison for clarity.
7878
dotnet_diagnostic.CA1508.severity = silent # Avoid dead conditional code.
79+
dotnet_diagnostic.CA1510.severity = none # Use ArgumentNullException.ThrowIfNull.
80+
dotnet_diagnostic.CA1513.severity = none # Use ObjectDisposedException.ThrowIf.
7981
dotnet_diagnostic.CA1849.severity = none # Call async methods when in an async method.
82+
dotnet_diagnostic.CA1859.severity = silent # Use concrete return types for performance.
8083
dotnet_diagnostic.CA2000.severity = none # Use recommended Dispose pattern.
8184
dotnet_diagnostic.CA2100.severity = none # Review SQL queries for security vulnerabilities.
8285
dotnet_diagnostic.CA2213.severity = silent # Disposable fields should be disposed.

0 commit comments

Comments
 (0)