Closed Mertsch closed 5 months ago
Hi, thanks for reaching out and sorry for responding this late but apparently Github only sends notification mails when you're watching the repo, even if it's owned by yourself?! what?...
Anyways, thanks! I didn't knew this neat method existed.
Fixed in #13
JetBrains.Annotations
is great! But since .NET 8 you only need very specific attributes, sinceNotNull
andCanBeNull
are now part of the .NET ecosystem. You already know that of course, since you do not use them anywhere 🎉.As I can see you are only using the
PublicAPIAttribute
, which is really only relevant for yourself to note that the class is actually in use.But you can achieve the same goal by going to R# and choose Options -> Code Annotations -> Copy C# implementation to clipboard and add the file to the source. You can then remove everything you don't need (basically everything except for the
PublicAPIAttribute
), and get rid of the R# dependency for everyone else.I have prepared the file for you here