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: 9c5ca4eba8bfdb089d502de2714a09af45a07b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0507: `DerivedClass.Show()': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Show()'
// Line: 9

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

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