RS0016 not recognized using --diagnostics in v6
- Dominant language
- No language data
- Stars
- 1.9k
- Forks
- 173
- Avg merge
- 10d 13h
- Merged PRs (30d)
- 1
Description
In the latest v5 I was using the following to execute the code fix of [`RS0016`](https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/Microsoft.CodeAnalysis.PublicApiAnalyzers.md#rs0016-add-public-types-and-members-to-the-declared-api) through the CLI:
```bash
dotnet format SolutionFile.sln --fix-analyzers warn --diagnostics RS0016
```
Now I'm using the builtin version of .NET 6 and adjusted the syntax to the following:
```bash
dotnet format SolutionFile.sln analyzers --diagnostics RS0016
```
However now I'm receiving the following error:
> Unrecognized command or argument 'RS0016'
The Code-Fix doesn't seem to execute at all, even if I use `dotnet format analyzers` without the `--diagnostics` filter:
```bash
dotnet format SolutionFile.sln analyzers
```
I also tried to play around with the `--severity` without success. Am I doing something wrong? Is this no longer possible?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.