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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With