[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0507.cs
1 // CS0507: `DerivedClass.Show()': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Show()'
2 // Line: 9
3
4 class BaseClass {
5         protected virtual void Show () {}
6 }
7
8 class DerivedClass: BaseClass {
9         public override void Show () {}
10 }
11