2014-09-04 09:07:35 +01:00
|
|
|
using System;
|
|
|
|
|
|
|
|
class X
|
|
|
|
{
|
|
|
|
public static int Main ()
|
|
|
|
{
|
|
|
|
try {
|
|
|
|
bool x = true;
|
|
|
|
try {
|
|
|
|
throw new ApplicationException ();
|
2015-04-07 09:35:12 +01:00
|
|
|
} catch (NullReferenceException) when (x) {
|
2014-09-04 09:07:35 +01:00
|
|
|
throw;
|
|
|
|
}
|
|
|
|
|
|
|
|
return 1;
|
|
|
|
} catch (ApplicationException) {
|
|
|
|
Console.WriteLine ("ok");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|