blob: 99f5f5efa85135d855534285c757f0a49642bbda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// 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 ()
{
}
}
|