Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Aug 13, 2010 11:49:50 AM |
Updated | Oct 4, 2018 4:33:10 PM |
Subsystem | Quick Fixes |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.3 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
interface I
{
int get_X();
}
class A : I
{
public int X { get; set; }
}
After QF:
class A : I
{
public int X { get; set; }
int I.get_X()
{
return get_X(); // error CS0571: 'A.X.get': cannot explicitly call operator or accessor
}
}
Expected:
class A : I
{
public int X { get; set; }
int I.get_X()
{
return X; // OK
}
}