JetBrains.Annotations missing conditional JETBRAINS_ANNOTATIONS symbol starting with version 2025.*
Seems like starting with version 2025.1.0 JetBrains.Annotations NuGet package is missing [Conditional("JETBRAINS_ANNOTATIONS")] on its annotation attributes, which it should, according to the following documentation page - https://www.jetbrains.com/help/rider/Code_Analysis__Annotations_in_Source_Code.html
Is that a bug or am I missing something?
Please sign in to leave a comment.
Hi!
This is an intended change. However, there is a feature request relating to it: Bring back
[Conditional]-Attribute forJETBRAINS_ANNOTATIONS. Feel free to follow/upvote the thread.