dotnet / dotnet/docs

Swap #pragma with NoWarn in suppression sections

Open
#43,167 1 comment 0 reactions 1 assignee Claimed by @gewarren View on GitHub
:watch: Not Triaged
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

I suggest to swap this with the next section:

* `#pragma` is fairly ugly and requires touching multiple places in code.
* Diagnostic IDs are meant to be scoped. Putting them in the project-global `` list is safe and most desirable.

_Originally posted by @terrajobst in https://github.com/dotnet/docs/pull/43119#discussion_r1811567034_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.