a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
439 B
C#
18 lines
439 B
C#
// 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 {}
|
|
}
|
|
}
|