mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* class.cs (MethodData.Define): Method cannot implement interface accessor. svn path=/trunk/mcs/; revision=60388
15 lines
193 B
C#
15 lines
193 B
C#
// cs0470.cs: 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;
|
|
}
|
|
} |