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: 6bac74b1467eb4148e3551a691f45d43726193d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// cs0508.cs: 'DerivedClass.Show()' : cannot change return type when overriding inherited member 'BaseClass.Show()'
// Line: 9

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

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