Parameter name doesn't match rule "unknown element"

Resharper C++ can't figure out what is "myName"
void func(const std::string& myName)


I have rules for parameter names, but since resharper can't figure out where is parameter, it says that I violate naming rule for "unknown element". I can't even edit naming rules for "unknown elements".

Permanently deleted user
Comment actions Permalink


When you see "Unknown element" this means that the element did not match any naming rule at all. We plan to hide the naming inspection in cases like this (

Could you please show what your naming rule for parameters looks like? Or just export naming settings and we'll take a look.

Comment actions Permalink

Ah, Entity Kind was unset. Don't know how that happened, but now it works.

Thanks Igor.


Please sign in to leave a comment.