[ItemNotNull] doesn't work with UniTask in Unity

UniTask: https://github.com/Cysharp/UniTask
I tried to use some of the JetBrains.Annotations attributes in my Unity code. They are working great with normal methods. However, they don't seem to work with async UniTask methods. Should I report this to the author of UniTask or here?
Please sign in to leave a comment.
Hello Hatsu, thank you for your question. ReSharper currently supports ItemCanBeNull/ItemNotNull only for inheritors of IEnumerable, Task<> and Lazy<>. There is the following feature request RSRP-450697 [ItemNotNull] not obeyed for custom collections. Please comment or vote for it to get notifications about status changes. While there hasn't been any recent activity on the YouTrack issue, feedback is still being gathered, and we hope to see it implemented in the future.