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?

0
1 comment

Hi! 

This is an intended change. However, there is a feature request relating to it: Bring back [Conditional]-Attribute for JETBRAINS_ANNOTATIONS. Feel free to follow/upvote the thread. 

0

Please sign in to leave a comment.