Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0507.cs
blob9c5ca4eba8bfdb089d502de2714a09af45a07b46
1 // CS0507: `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 () {}