JetBrains / JetBrains/resharper-unity

Add Pure/MustUseReturnValue annotations for known API methods

Open
#787 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
1.2k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

This will allow Rider/ReSharper to warn about not using the return value, which is important for methods where it's all about the return value and not about the actual method call. E.g. `Physics.Raycast` or `Physics.RaycastAll`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.