a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
28 lines
509 B
C#
28 lines
509 B
C#
// CS0540: `Foo.ISomeProp.SomeProperty': containing type does not implement interface `ISomeProp'
|
|
// Line: 18
|
|
|
|
public class SomeProperty
|
|
{
|
|
}
|
|
|
|
public abstract class SomeAbstract : ISomeProp
|
|
{
|
|
public abstract SomeProperty SomeProperty { get; }
|
|
}
|
|
|
|
interface ISomeProp
|
|
{
|
|
SomeProperty SomeProperty { get; }
|
|
}
|
|
|
|
public class Foo : SomeAbstract
|
|
{
|
|
SomeProperty ISomeProp.SomeProperty { get { return null; } }
|
|
|
|
public override SomeProperty SomeProperty { get { return null; } }
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|