[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs7095.cs
blobecc74b30fff7f0a2548dd99c495466791fc9f3f9
1 // CS7095: Exception filter expression is a constant
2 // Line: 12
3 // Compiler options: -warnaserror
5 using System;
7 class X
9 public static int Main ()
11 try {
12 throw new ApplicationException ();
13 } catch when (true) {
14 return 0;