181b81b4a4
Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
15 lines
210 B
C#
15 lines
210 B
C#
// CS0841: A local variable `x' cannot be used before it is declared
|
|
// Line: 8
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{
|
|
Foo (x, out var x);
|
|
}
|
|
|
|
static void Foo (int arg, out int value)
|
|
{
|
|
value = 3;
|
|
}
|
|
} |