1 // cs0154-2.cs: error CS0154: The property or indexer 'B.Foo' cannot be used in this context because it lacks the get accessor
6 public int Foo { get { return 1; }
}
10 public new int Foo { set { }
}
13 System
.Console
.WriteLine (new B ().Foo
);