[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs1501-2.cs
1 // CS1501: No overload for method `Foo' takes `0' arguments
2 // Line: 20
3
4 class A
5 {
6         protected virtual void Foo (object[] arr)
7         {
8         }
9 }
10
11 class B : A
12 {
13         protected override void Foo (params object[] arr)
14         {
15         }
16
17         static void Bar()
18         {
19                 B b = new B ();
20                 b.Foo ();
21         }
22 }