Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update comparison doc to list CA1507 and S3376 #750

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/comparison-with-other-analyzers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down Expand Up @@ -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.|