Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0508.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7d57a093d4d438763fb8008dd44c5e653f5e2f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
// cs0508.cs: `DerivedClass.Show()': return type must be `void' to match overridden member `BaseClass.Show()'
// Line: 9

class BaseClass {
        protected virtual void Show () {}
}

class DerivedClass: BaseClass {
        protected override bool Show () {}
}