a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
245 B
C#
14 lines
245 B
C#
// CS0238: `DerivedClass.Show()' cannot be sealed because it is not an override
|
|
// Line: 10
|
|
|
|
class BaseClass {
|
|
void Show() {}
|
|
}
|
|
|
|
class DerivedClass: BaseClass {
|
|
sealed void Show() {}
|
|
|
|
static void Main() {}
|
|
}
|
|
|