blob: 0069790b239d8b99c452862a198f9a5243871cc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// CS0737: `MySubClass' does not implement interface member `I.Foo.set' and the best implementing candidate `MyTest.Foo.set' is not public
// Line: 6
using System;
interface I
{
int Foo { get; set; }
}
public class MySubClass : MyTest, I
{
}
public class MyTest
{
public int Foo
{
get { return 1; }
protected set { }
}
}
|