Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / errors / cs1620-2.cs
1 // CS1620:  Argument `#1' is missing `ref' modifier
2 // Line: 24
3
4 public class X
5 {
6         public void Foo (string[] b)
7         {
8         }
9         
10         public void Foo (ref string i)
11         {
12         }
13         
14         public void Foo (int i)
15         {
16         }
17 }
18
19 class D
20 {
21         static void Main ()
22         {
23                 X x = null;
24                 x.Foo ("hola");
25         }
26 }
27