blob: 07da09dfe294ab20064ad5e679f396f7c2ec68d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// CS1501: Argument `#1' cannot convert `ref string' expression to type `ref int'
// Line: 8
// Compiler options: -langversion:experimental
class C
{
public static void Main ()
{
Foo (ref var x = "");
}
static void Foo (ref int i)
{
}
}
|