28 lines
266 B
C#
Raw Normal View History

// CS1620: Argument `#1' is missing `ref' modifier
// Line: 24
public class X
{
public void Foo (string[] b)
{
}
public void Foo (ref string i)
{
}
public void Foo (int i)
{
}
}
class D
{
static void Main ()
{
X x = null;
x.Foo ("hola");
}
}