Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

23 lines
333 B
C#

// 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 { }
}
}