2015-01-13 10:44:36 +00:00
|
|
|
// CS1501: Argument `#1' cannot convert `ref string' expression to type `ref int'
|
|
|
|
// Line: 8
|
2015-04-07 09:35:12 +01:00
|
|
|
// Compiler options: -langversion:experimental
|
2015-01-13 10:44:36 +00:00
|
|
|
|
|
|
|
class C
|
|
|
|
{
|
|
|
|
public static void Main ()
|
|
|
|
{
|
|
|
|
Foo (ref var x = "");
|
|
|
|
}
|
|
|
|
|
|
|
|
static void Foo (ref int i)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|