b.test_exception ();
}
catch (SynchronizationLockException ex) {
- // OK
+ return 1;
}
catch (Exception ex) {
- return 1;
+ // OK
}
Console.WriteLine ("Test4...");
d ();
}
catch (SynchronizationLockException ex) {
- // OK
+ return 2;
}
catch (Exception ex) {
- return 2;
+ // OK
}
return 0;