You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also seen this issue in VS with other diagnostics (but I hadn't tracked down the specific circumstances to cause it yet, but the one listed here seems about right). This is also a roslyn issue, not a runtime issue.
Due to apparent confusion on the target repo for this issue, I've attached two screenshots showing both the SYSLIB1054 diagnostic being emitted without the suppression, as well as the suppression being marked as unnecessary when included.
Full issue information + repro project:
https://github.com/just-ero/roslyn-issues-repros/tree/main/5.0.0/000_CustomDiagnosticSuppression
Version
Roslyn: 5.0.0-1.25204.1 (ad1c386)
Steps to Reproduce
Expected Behavior
The suppression of
SYSLIB1054
is not considered unnecessary.Actual Behavior
It is.
The text was updated successfully, but these errors were encountered: