blob: f67ffb84a214cf83d879320ea8069cb3d356ff03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a `System.Runtime.CompilerServices.RuntimeWrappedException'
// Line: 15
// Compiler options: -warnaserror -warn:4
using System.Runtime.CompilerServices;
[assembly: RuntimeCompatibility (WrapNonExceptionThrows=true)]
class C
{
static void Main()
{
try {}
catch (System.Exception) { }
catch {}
}
}
|