Warnings about all methods that start with 'Get'

I recently upgraded to Resharper 2019.1 EAP 7 (from an earlier EAP version). Since then, every method that starts with 'Get' has a warning - e.g. on a method called "GetValue()" I get the warning "Name 'GetValue' does not match rule 'Methods'. Suggested name is 'Value'."

I don't think I've changed any of my settings (nor has anyone on my team). Did the default settings change? If so, how can I change them back so I don't get these warnings any more?


Hello Craig!


Could you please check the Use auto-detected rules in Resharper | Options | Code editing | C# | Naming style and disable it?

Thank you.


Thanks, that seems to have fixed it.

FYI, when I first turned the setting off all the associated warnings still appeared in my list of "Errors/Warnings in Solution". I had to use the "reanalyze all" button to remove them.


Hi Angelina Elycheva...

Can you help to explain what's going on here? I too am seeing a suggestion to remove "Get" from method names. Indeed, the MS Guidelines linked to in the ReSharper documentation on the subject require "verbs or verb phrases". Removing Get should fail that test.

Can you help to clarify how auto-detected rules work and how it would come up with this suggestion? It would be very useful if RS could point to the examples in the solution it's drawing on; in this case it's likely that those should be refactored!

I'll note that the help page linked to by "Why is ReSharper Ultimate suggesting this" makes no mention of the auto-detected rules. That would be a helpful addition.

Thank you.


We've been having this problem in most of our solutions since the OP first reported it.  I'm finally getting around to trying to kill all our improperly configured things, but I just can't seem to solve this one.  We've moved as many of the rules as possible to .editorconfig now that ReSharper can more-or-less fully support that.  Some things still seem to stubbornly persist and save themselves to one of the DotSettings layers.  We're trying to get as much cleared out of there as possible, but no matter what we do, it seems to complain about every method that starts with Get, which is, you know, almost every method that returns something.  The weirdest part is that sometimes there is a squiggle indicating the problem, but sometimes it only appears in the Inspection Results window.


Hi Ron,

thank you for contacting us.

Could you please send us a sample project where we can reproduce the issue? You could submit ner request here: https://resharper-support.jetbrains.com/hc/en-us/requests/new?ticket_form_id=66432 or in YouTrack: https://youtrack.jetbrains.com/issues/RSRP

Thank you!


Please sign in to leave a comment.