projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3419 from ntherning/fix-MonoTests.System.IO.DirectoryTest.DeleteD...
[mono.git]
/
mcs
/
tests
/
test-ex-filter-04.cs
diff --git
a/mcs/tests/test-ex-filter-04.cs
b/mcs/tests/test-ex-filter-04.cs
index 122accb2eeec74212e44c51c30a6619959ead4c1..fe5a66b2db79a78b780ec50e3cdcf06cf630d2be 100644
(file)
--- 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;
Console.WriteLine (x);
if (e != null)
throw e;
- } catch (Exception)
if
(x != 15) {
+ } catch (Exception)
when
(x != 15) {
await Task.FromResult (0);
throw;
}
await Task.FromResult (0);
throw;
}
@@
-64,7
+64,7
@@
class X
try {
Console.WriteLine (x);
throw ex;
try {
Console.WriteLine (x);
throw ex;
- } catch
if
(x != 15) {
+ } catch
when
(x != 15) {
await Task.FromResult (0);
throw;
}
await Task.FromResult (0);
throw;
}