2009-05-13 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0108-5.cs
blob84cfdc4c14d77c0fa9513104b00ea9ff4c541053
1 // cs0108-5.cs: `Derived.Prop' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended
2 // Line: 10
3 // Compiler options: -warnaserror -warn:2
5 class Base {
6 public bool Prop = false;
9 class Derived : Base {
10 public int Prop {
11 get {
12 return 0;