blob: f4a27205cb95b5dd9f532660bdc7f16f932b9ef1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// CS0470: Method `C.get_P()' cannot implement interface accessor `I.P.get'
// Line: 11
interface I
{
int P { get; }
}
class C : I
{
public int get_P ()
{
return 1;
}
}
|