Pattern matching when a string literal argument is used
I'm trying to match the following pattern where this method is invoked with a string literal passed in instead of a method call.
I want to highlight the following cases in order to apply a hint/warning:
NotifyPropertyChanged("Foo")
in favor of something like this
NotifyPropertyChanged(nameof(Foo))
I've tried numerous variations with name being an argument, an identifier, with quotes, without quotes. I can't get it to match cases where a string literal is passed in. If I omit the quotes below it will match every case including ones that are the correct usage.

Please sign in to leave a comment.
Hello Jaime,
Sorry for the delay in responding.
Unfortunately, there's no such option in ReSharper, please refer to the following feature request - https://youtrack.jetbrains.com/issue/RSRP-462914.
You are welcome to comment or vote for it.
Thank you.