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: c0ee0bc2eb815ad720d09acbef209a075d6c125b (plain)
1
2
3
4
5
6
7
8
9
10
11
// cs0507.cs: `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 () {}
}