X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-ex-filter-04.cs;h=fe5a66b2db79a78b780ec50e3cdcf06cf630d2be;hb=d185b75dd7170e2555d2bb70f7a53b54ecbf855c;hp=122accb2eeec74212e44c51c30a6619959ead4c1;hpb=8da27c63c37365e4467b2e780e3febcf59c8e0c7;p=mono.git diff --git a/mcs/tests/test-ex-filter-04.cs b/mcs/tests/test-ex-filter-04.cs index 122accb2eee..fe5a66b2db7 100644 --- a/mcs/tests/test-ex-filter-04.cs +++ b/mcs/tests/test-ex-filter-04.cs @@ -51,7 +51,7 @@ class X Console.WriteLine (x); if (e != null) throw e; - } catch (Exception) if (x != 15) { + } catch (Exception) when (x != 15) { await Task.FromResult (0); throw; } @@ -64,7 +64,7 @@ class X try { Console.WriteLine (x); throw ex; - } catch if (x != 15) { + } catch when (x != 15) { await Task.FromResult (0); throw; }