Forced name reservation for static methods in Resharper

I know I can make it. a qualifier, for example, a member with clearing Resharper code.

Can I use a redundant name classifier for static methods?

public class Foo { public void Bar() { StaticMethod(); } private static void StaticMethod() { } } 

Will be forced to:

 public class Foo { public void Bar() { Foo.StaticMethod(); } private static void StaticMethod() { } } 
+7
source share
1 answer

I see no way to do this in ReSharper 5.x and have not seen anything about it in the 6.x EAP / Beta releases, but do not have a 6.x instance to test.

You can offer it as a function in the JetBrains tray log: http://confluence.jetbrains.net/display/ReSharper/ReSharper+Issue+Tracker

+4
source

All Articles