Can I make Resharper use different rules for public and private methods?

I recently upgraded to Resharper 5.1 and noticed some warnings I don't believe I saw with the previous version.  We use different naming conventions for public and private methods (UpperCamelCase vs names with a prefix).  I'm pretty sure this used to work, but now I can't find any option to restore this kind of behavior.

Is there some way to implement a custom rule?

1 comment
Comment actions Permalink

See Resharper->Options->Languages->Common->Naming Style and the button "Advanced Settings". There you can add rules for e.g. public/private methods etc. to have certain naming with prefix/suffix etc.

0

Please sign in to leave a comment.