[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0540-3.cs
blob99f5f5efa85135d855534285c757f0a49642bbda
1 // CS0540: `Foo.ISomeProp.SomeProperty': containing type does not implement interface `ISomeProp'
2 // Line: 18
4 public class SomeProperty
8 public abstract class SomeAbstract : ISomeProp
10 public abstract SomeProperty SomeProperty { get; }
13 interface ISomeProp
15 SomeProperty SomeProperty { get; }
18 public class Foo : SomeAbstract
20 SomeProperty ISomeProp.SomeProperty { get { return null; } }
22 public override SomeProperty SomeProperty { get { return null; } }
24 public static void Main ()