f3e3aab35a
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
20 lines
310 B
C#
20 lines
310 B
C#
// CS0841: A local variable `n' cannot be used before it is declared
|
|
// Line: 17
|
|
|
|
class MainClass
|
|
{
|
|
public delegate void Fn (MainClass o);
|
|
|
|
public static void Call (Fn f)
|
|
{
|
|
f(null);
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
Call (delegate (MainClass o) {
|
|
n = o;
|
|
MainClass n = new MainClass ();
|
|
});
|
|
}
|
|
} |