4

Resharper does not detect if a method has been generated by user or VS. it always highlights event methods generated by VS which have underscore in them (like button1_Click() even).

How can I make an exception in this case?

Ufuk Hacıoğulları
  • 37,978
  • 12
  • 114
  • 156
Dumbo
  • 13,555
  • 54
  • 184
  • 288

1 Answers1

8

On ReSharper | Options | Languages | C# | Naming Style check Override common settings, then click on Advanced settings.

Then you should have this on Event subscription on fields : $object$_$event$ . Press OK on both windows and you are good to go.

Ufuk Hacıoğulları
  • 37,978
  • 12
  • 114
  • 156