2014-08-13 10:39:27 +01:00
|
|
|
using System;
|
|
|
|
|
|
|
|
class X
|
|
|
|
{
|
|
|
|
public static int Main ()
|
|
|
|
{
|
|
|
|
int x = 4;
|
|
|
|
try {
|
|
|
|
throw null;
|
2015-04-07 09:35:12 +01:00
|
|
|
} catch (NullReferenceException) when (x > 0) {
|
2014-08-13 10:39:27 +01:00
|
|
|
Console.WriteLine ("catch");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|