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
Regarding the property initializer case, I don't know if the behavior was intended or not. @mavasani Do you know if property initializers should be supported?
Analyzer
Diagnostic ID: RS2000:
Add analyzer diagnostic IDs to analyzer release
Analyzer source
SDK: Built-in CA analyzers in .NET 5 SDK or later
Version: SDK 6.0.201
NuGet Package: Microsoft.CodeAnalysis.Analyzers
Version: 3.3.3 (Latest)
Describe the bug
RS2000 is not displayed in two separate circumstances, despite the diagnostic ID not being listed in the analyzer release:
However, creating a DiagnosticDescriptor in the following way results in RS2000:
Expected behavior
If the diagnostic ID is not already listed in the analyzer release, RS2000 should be displayed - as is the case in the final example above.
Actual behavior
RS2000 is not displayed.
Additional information
Related diagnostics are affected in similar ways, such as RS1017.
The text was updated successfully, but these errors were encountered: