3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
21 lines
291 B
C#
21 lines
291 B
C#
using System;
|
|
|
|
class X
|
|
{
|
|
public static int Main ()
|
|
{
|
|
try {
|
|
bool x = true;
|
|
try {
|
|
throw new ApplicationException ();
|
|
} catch (NullReferenceException) when (x) {
|
|
throw;
|
|
}
|
|
|
|
return 1;
|
|
} catch (ApplicationException) {
|
|
Console.WriteLine ("ok");
|
|
return 0;
|
|
}
|
|
}
|
|
} |