Event Handler Naming Style

I am a bit confused about the ReSharper options for event subscription
naming settings.  If I go to "Naming Style" options and click "Advanced
settings...", there are boxes for specifying event handler naming style.
For "Event subscriptions on fields", I have specified "On$object$$event$".
However, when I type the following and invoke smart completion:

this.Parent.PropertyChanged +=

...I get the option to "Create method ParentOnPropertyChanged(object,
PropertyChangedEventArgs)".  Based on my Naming Style settings, I would
expect to see "OnParentPropertyChanged" instead of
"ParentOnPropertyChanged".  Is this a bug, or are these settings not
considered in this scenario?


Please sign in to leave a comment.