for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs1058-1.cs
blobe95c83b9b22235d57b788538b893d939bf4bf449
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: 11
3 // Compiler options: -warnaserror -warn:4
5 class C
7 static void Main()
9 try {}
10 catch (System.Exception) { }
11 catch {}