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