2014-08-13 10:39:27 +01:00
|
|
|
// CS7095: Exception filter expression is a constant
|
|
|
|
// Line: 12
|
|
|
|
// Compiler options: -warnaserror
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
class X
|
|
|
|
{
|
|
|
|
public static int Main ()
|
|
|
|
{
|
|
|
|
try {
|
|
|
|
throw new ApplicationException ();
|
2015-04-07 09:35:12 +01:00
|
|
|
} catch when (true) {
|
2014-08-13 10:39:27 +01:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|