Closed NN--- closed 4 years ago
No justification is required for local suppressions, however, suppressing if at method/type level (with the [SuppressMessage]
attribute) would require to put a justification, although it's not checked to be correct.
The correct ways to suppress it:
[SuppressMessage]
attribute);
Why it is considered as warning by default ? What is the correct way to suppress then ?