[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs1058-2.cs
blobf67ffb84a214cf83d879320ea8069cb3d356ff03
1 // CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a `System.Runtime.CompilerServices.RuntimeWrappedException'
2 // Line: 15
3 // Compiler options: -warnaserror -warn:4
5 using System.Runtime.CompilerServices;
7 [assembly: RuntimeCompatibility (WrapNonExceptionThrows=true)]
9 class C
11 static void Main()
13 try {}
14 catch (System.Exception) { }
15 catch {}