Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0737-3.cs
blob0069790b239d8b99c452862a198f9a5243871cc9
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
4 using System;
6 interface I
8 int Foo { get; set; }
11 public class MySubClass : MyTest, I
15 public class MyTest
17 public int Foo
19 get { return 1; }
20 protected set { }