Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Godbe <wigodbe@microsoft.com>2021-06-10 05:47:20 +0300
committerGitHub <noreply@github.com>2021-06-10 05:47:20 +0300
commit6a929c3796f048d619bdd05969972d3a84669aac (patch)
tree6c926b9aba50ee603b2bfb5930ac562eee46c20c /.editorconfig
parent4f2214ab6d614a6f481ce6ca4bcd14a100dd93c2 (diff)
Update SDK (#33187)
* Update SDK * Add diagnostic for tracing in test * Try disable publish trimming * Revert "Try disable publish trimming" This reverts commit 766ae32611a13e9f6df6279b2e0cb8aaf36d77eb. * Add BuiltInComInteropSupport * Update global.json * Update global.json * Fix analyzer warning and clean up workarounds * Fix up more analyzer warnings * Fix CA1846 issues in WebEncoders and Http * Fix CA1845 warnings in Logging.AzureAppServices * Fix CA1845 warning in RazorPagesRazorViewEngineOptionsSetup * Fix warning in FileProviderRazorProjectFileSystem * Disable span warnings in tests * Re-ordering * Downgrade CA1846 to suggestion for projects Co-authored-by: John Luo <johluo@microsoft.com> Co-authored-by: Tanay Parikh <TanayParikh@users.noreply.github.com> Co-authored-by: Safia Abdalla <safia@safia.rocks> Co-authored-by: Safia Abdalla <safia@microsoft.com> Co-authored-by: Pranav K <prkrishn@hotmail.com>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index db62e5b528..6b9e8b09cb 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -147,7 +147,7 @@ dotnet_diagnostic.CA1840.severity = warning
dotnet_diagnostic.CA1841.severity = warning
# CA1845: Use span-based 'string.Concat'
-dotnet_diagnostic.CA1845.severity = warning
+dotnet_diagnostic.CA1845.severity = suggestion
# CA1846: Prefer AsSpan over Substring
dotnet_diagnostic.CA1846.severity = warning
@@ -186,5 +186,10 @@ dotnet_diagnostic.CA1837.severity = suggestion
dotnet_diagnostic.CA1838.severity = suggestion
# CA1841: Prefer Dictionary.Contains methods
dotnet_diagnostic.CA1841.severity = suggestion
+# CA1845: Use span-based 'string.Concat'
+dotnet_diagnostic.CA1845.severity = suggestion
+# CA1846: Prefer AsSpan over Substring
+dotnet_diagnostic.CA1846.severity = suggestion
# CA2012: Use ValueTask correctly
dotnet_diagnostic.CA2012.severity = suggestion
+