a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
271 B
C#
12 lines
271 B
C#
// CS0108: `Derived.Prop(bool)' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended
|
|
// Line: 13
|
|
// Compiler options: -warnaserror -warn:2
|
|
|
|
class Base {
|
|
public bool Prop = false;
|
|
}
|
|
|
|
class Derived : Base {
|
|
public void Prop (bool b) {}
|
|
}
|