(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / errors / cs0154-2.cs
blob16ef004c2d180aca5544acb4a87bcfd6a7c43e0b
1 // cs0154-2.cs: error CS0154: The property or indexer 'B.Foo' cannot be used in this context because it lacks the get accessor
2 // Line: 13
3 // this is bug 55780.
5 class A {
6 public int Foo { get { return 1; } }
9 class B : A {
10 public new int Foo { set { } }
11 static void Main ()
13 System.Console.WriteLine (new B ().Foo);