2009-03-15 Steven Munroe <munroesj@us.ibm.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 () {}