Reporter | Ilya Ryzhenkov (orangy) |
---|---|
Created | Apr 4, 2011 6:11:47 PM |
Updated | Apr 11, 2018 6:57:40 PM |
Subsystem | Refactorings |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Major |
State | Open |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
namespace MvcApplication1.Controllers
{
public class User
{
private void foo(Class1 class1, Class2 class2)
{
Class1.Foo(class1, class2);
class2.Foo(class1);
}
}
public class Class1
{
public static void Foo(Class1 class1, Class2 class2) // Make this non-static in Class2, conflict should be reported
{
}
}
public class Class2
{
}
public static class Class1Extensions
{
public static void Foo(this Class2 class2, Class1 class1)
{
Class1.Foo(class1, class2);
}
}
}