Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / errors / cs0686.cs
1 // CS0686: Accessor `C.Method.get' cannot implement interface member `I.get_Method()' for type `C'. Use an explicit interface implementation
2 // Line: 13
3
4 interface I
5 {
6     int get_Method ();
7 }
8
9 class C: I
10 {
11     public int Method
12     {
13         get { return -1; }
14     }
15 }