Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0737-3.cs
1 // CS0737: `MySubClass' does not implement interface member `I.Foo.set' and the best implementing candidate `MyTest.Foo.set' is not public
2 // Line: 6
3
4 using System;
5
6 interface I
7 {
8         int Foo { get; set; }
9 }
10
11 public class MySubClass : MyTest, I
12 {
13 }
14
15 public class MyTest
16 {
17         public int Foo
18         {
19                 get { return 1; }
20                 protected set { }
21         }
22 }