2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0507.cs
blobc0ee0bc2eb815ad720d09acbef209a075d6c125b
1 // cs0507.cs: `DerivedClass.Show()': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Show()'
2 // Line: 9
4 class BaseClass {
5 protected virtual void Show () {}
8 class DerivedClass: BaseClass {
9 public override void Show () {}