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

cs0507.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 53f0c4d1c5b519f9790cbd459ccac11d6bfede56 (plain)
1
2
3
4
5
6
7
8
9
10
11
// cs0506.cs: 'DerivedClass.Show()' : cannot change access modifiers when overriding inherited member 'BaseClass.Show()'
// Line: 9

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

class DerivedClass: BaseClass {
        public override void Show () {}
}