SonarQube Version 6.4 (build 25310)
Could you please send us the versions of the following software that are installed and used on your build machine?
I cannot reproduce the problem using Visual Studio 2017 and I suspect that you might be using much older version of Roslyn (the C# compiler) that behaves differently for nameof expressions, so having the versions of your environment could help a lot.
I am marking this thread as resolved as there is no activity. Please feel free to get back to us if you are still experiencing some issue.