3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
15 lines
246 B
C#
15 lines
246 B
C#
// 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)
|
|
{
|
|
}
|
|
} |