af81a8ba63dcc162f1c1eedcbf34844d4f2d5474
[mono.git] / mcs / errors / cs1620-2.cs
1 // CS1620: Argument `1' must be passed with the `ref' keyword
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