class Stuff
{
static void Bar()
{
int z;
new Foo(out z, z); // error CS0165: Use of unassigned local variable 'z'
}
}
class Foo
{
public Foo(out int y, int x)
{
y = 1;
}
}
class Stuff
{
static void Bar()
{
int z;
new Foo(out z, z); // error CS0165: Use of unassigned local variable 'z'
}
}
class Foo
{
public Foo(out int y, int x)
{
y = 1;
}
}