[mcs] Reset also all partial parts current-type
[mono-project.git] / mcs / errors / cs0108-6.cs
blobe91276f94178c911140f0755bc8a364e4ab52000
1 // CS0108: `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;