I upgraded a project to .NET 5, installed the latest Microsoft.CodeAnalysis.NetAnalyzers, and I have this in my .editorconfig file:
dotnet_diagnostic.CA1506.s