Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Mark all methods and properties as in use in Unity types #625

Closed
citizenmatt opened this issue Jul 3, 2018 · 1 comment
Closed

Mark all methods and properties as in use in Unity types #625

citizenmatt opened this issue Jul 3, 2018 · 1 comment
Assignees
Milestone

Comments

@citizenmatt
Copy link
Member

citizenmatt commented Jul 3, 2018

The ReSharper engine will now mark any uncalled method (public or private) as unused if it's not used in code. Unity might be using these methods from scenes and whatnot, so avoid false positives by marking all members in a Unity type as being implicitly used.

This is a workaround until we have more details about the scene. See also #32, #263 and #488

@citizenmatt citizenmatt added this to the Rider 2018.2 milestone Jul 3, 2018
@citizenmatt citizenmatt self-assigned this Jul 3, 2018
@IvanPashchenko
Copy link
Collaborator

IvanPashchenko commented Jul 3, 2018

see https://youtrack.jetbrains.com/issue/RIDER-17276 (Do not show method as unused when it is being used in a Unity Editor)

@citizenmatt citizenmatt changed the title Mark all methods and fields as in use in Unity types Mark all methods and properties as in use in Unity types Oct 13, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants