retag
[mcs.git] / errors / cs0108-6.cs
blob466fd42b1341d1933c12e65bac04ae4aad8605aa
1 // cs0108-6.cs: `Derived.Prop' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended
2 // Line: 14
3 // Compiler options: -warnaserror -warn:2
5 class Base {
6 public int Prop {
7 get {
8 return 0;
13 class Derived : Base {
14 public bool Prop = false;