Is it possible to set custom preprocessor defines for a project? We have some code within #if CUSTOM_DEFINE #endif blocks that are not visible to Rider (greyed out). This means that any refactoring doesn't include this code and causes bugs.
This discussion https://github.com/JetBrains/resharper-unity/issues/125 claims that Rider will only parse the current context's block because 1) code in blocks may not be correct because people use them to comment and 2) it is unfeasible to check all branches.
It seems this should at least be optional as these reasons do not apply to all projects (e.g., if you don't use defines for commenting and don't have too many of them).