From 77eca7f26fc526fd24e3258553ae16e0544d28f7 Mon Sep 17 00:00:00 2001 From: drieseng Date: Thu, 12 Sep 2024 20:43:28 +0200 Subject: [PATCH] Update comparison doc to list CA1507 as equivalent of MA0043, and S3376 as similar to MA0058. --- docs/comparison-with-other-analyzers.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/comparison-with-other-analyzers.md b/docs/comparison-with-other-analyzers.md index b0295b2f9..dcdd602cd 100644 --- a/docs/comparison-with-other-analyzers.md +++ b/docs/comparison-with-other-analyzers.md @@ -16,6 +16,7 @@ | [CA1307](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1307?WT.mc_id=DT-MVP-5003978) | [MA0001](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0001.md), [MA0074](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0074.md) | | [CA1309](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1309?WT.mc_id=DT-MVP-5003978) | [MA0001](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0001.md), [MA0074](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0074.md) | | [CA1310](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1310?WT.mc_id=DT-MVP-5003978) | [MA0001](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0001.md) | +| [CA1507](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1507?WT.mc_id=DT-MVP-5003978) | [MA0043](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0043.md) | | [CA1710](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1710?WT.mc_id=DT-MVP-5003978) | [MA0057](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0057.md) | | [CA1710](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1710?WT.mc_id=DT-MVP-5003978) | [MA0058](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0058.md) | | [CA1710](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1710?WT.mc_id=DT-MVP-5003978) | [MA0059](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0059.md) | @@ -63,4 +64,5 @@ | [CA2016](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2016?WT.mc_id=DT-MVP-5003978) | [MA0080](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0080.md) | MA reports missing CancellationToken in `await foreach` expressions | | [CA2208](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2208?WT.mc_id=DT-MVP-5003978) | [MA0015](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0015.md) | MA reports more cases | | [SA1649](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1649.md) | [MA0048](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0048.md) | SA supports configuration of file naming convention and skips partial classes | +| [S3376](https://rules.sonarsource.com/csharp/RSPEC-3376/) | [MA0058](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0058.md) | S3376 also supports Attribute and EventArgs type names | | [S6580](https://rules.sonarsource.com/csharp/RSPEC-6580/) | [MA0011](https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0011.md) | S6580 only applies to parse methods, and also reports diagnostic when `null` is passed as value for format provider argument.|