Console.WriteLine (x);
if (e != null)
throw e;
- } catch (Exception) if (x != 15) {
+ } catch (Exception) when (x != 15) {
await Task.FromResult (0);
throw;
}
try {
Console.WriteLine (x);
throw ex;
- } catch if (x != 15) {
+ } catch when (x != 15) {
await Task.FromResult (0);
throw;
}