Merge pull request #4615 from alexanderkyte/string_error_handling
[mono.git] / mcs / errors / cs7094.cs
index 93cd6372f8ebff163bed25eb37668f0d44cee2bf..d20ff207edc7d9dd5eafcb3fbaf65466f647c8f7 100644 (file)
@@ -9,7 +9,7 @@ class Test
        {
                try {
                }
-               catch if (await Task.Factory.StartNew (() => false)) {
+               catch when (await Task.Factory.StartNew (() => false)) {
                }
        }
 }
\ No newline at end of file