JetBrains / JetBrains/resharper-unity
Add NotNull/CanBeNull annotations for known API methods
Open
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
E.g. `GetComponent` will return `null` if the component isn't found. Adding `[CanBeNull]` will show warnings to check for `null` before use.
This will require trawling through the docs to see what is at least documented as returning `null`.
Contributor guide
Assessment
This issue has not been assessed yet.