RefactoringEssentials
RefactoringEssentials copied to clipboard
Convert to static introduces unnecessary parameter for static field access in method
class C1 { private static int bar;
void Baz() { int x = bar; } }
Converting this method to static introduces a new parameter "instance" of type "C1" which is not needed.
Expected: only an added static modifier.