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

Suppress warning RS2002 (possible regression in .NET SDK 6.0.200) #161

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

atifaziz
Copy link
Collaborator

See dotnet/roslyn-analyzers#5890 for more details.

This PR suppresses RS2002 warnings predicated on the condition that one is building with .NET SDK 6.0.200. This is a stop-gap measure until dotnet/roslyn-analyzers#5890 gets sorted.

@atifaziz atifaziz merged commit 1a72369 into docopt:master Feb 19, 2022
@atifaziz atifaziz deleted the nowarn-rs2002-sdk-6.0.200 branch February 19, 2022 13:17
Youssef1313 added a commit to Youssef1313/docopt.net that referenced this pull request Feb 19, 2022
atifaziz pushed a commit that referenced this pull request Feb 19, 2022
- Reverts "Suppress warning RS2002 (possible regression in .NET SDK
  6.0.200)" (or commit 1a72369) from
  PR #161.

- Avoids target-typed new for "DiagnosticDescriptor" as workaround to
  issue dotnet/roslyn-analyzers#5890.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant