Re Sharper show errors while the code build and run successfully
Re Sharper show errors while the code build and run successfully and I have the same code in other solution and no errors appears.
below is the code with errors shown

Below is the same code in other solution without errors shown

Re Sharper version is
ReSharper Ultimate 2017.2.2
Visual Studio version is
Microsoft Visual Studio Enterprise 2017
Version 15.3.4
Please Advice.
Please sign in to leave a comment.
Hello Akamel!
Thank you for contacting us.
Please try suggestion from the following help article - https://resharper-support.jetbrains.com/hc/en-us/articles/206546989.
Please let us know if it helps.
Thank you.
Thanks Angelina for your reply.
I tried to clear cashes like your help article suggestion plus I tried to uninstall Re sharper and install it again but I still have the same issue.
after I uninstalled Re sharper I tested the code and build successfully without errors and after install the same issue appears again.
Hello Akamel!
Thank you for the provided information.
I've filed corresponding issue here - https://youtrack.jetbrains.com/issue/RSRP-467222
Please feel free to contact us in case of any questions or problems.
Thank you.