Skip to content

Commit 49dce32

Browse files
committed
Make CA1305 a suggestion rather than error
New compiler now makes this appear when using a StringBuilder with string interpolation. I'll log an issue to follow up.
1 parent 1f05446 commit 49dce32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ dotnet_diagnostic.CA1018.severity = warning
7777
dotnet_diagnostic.CA1047.severity = warning
7878

7979
# CA1305: Specify IFormatProvider
80-
dotnet_diagnostic.CA1305.severity = error
80+
dotnet_diagnostic.CA1305.severity = suggestion
8181

8282
# CA1507: Use nameof to express symbol names
8383
dotnet_diagnostic.CA1507.severity = warning

0 commit comments

Comments
 (0)